Minimal File Explorer
$ vim /path/to/directory/
For vim-plug plugin manager:
Plug 'mattn/vim-molder'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'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-
Show dotfiles and dotdirs:
let g:molder_show_hidden = 1
MIT
Yasuhiro Matsumoto

