Skip to content

mattn/vim-molder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-molder

Minimal File Explorer

Usage

$ vim /path/to/directory/

Installation

For vim-plug plugin manager:

Plug 'mattn/vim-molder'

Extensions

vim-molder does not have features to operate file or directories. You need to add vim-molder-operations if you want to do it.

Plug 'mattn/vim-molder'
Plug 'mattn/vim-molder-operations'

Custom Handlers

You can add custom protocol handlers by implementing molder#handler#<name>#init(path) function. The handler should return the local path if it handles the protocol, or empty string otherwise.

Example for ssh:// protocol:

function! molder#handler#ssh#init(path) abort
  if a:path !~# '^ssh://'
    return ''
  endif
  " Parse ssh:// URL and return local mount point
  " return '/tmp/sshfs/user@host/path'
  return {'dir': '/path/to', 'files': ['file1', 'file2']}
endfunction

Options

  • Show dotfiles and dotdirs:

    let g:molder_show_hidden = 1

License

MIT

Author

Yasuhiro Matsumoto

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 5