- π Performing basic file operations.
- π Supports easy-to-use 2-window filer.
- βοΈ Light operability.
- π Customizable to your liking.
- π Not depends on other plugins or external.
vfiler.vim requires Neovim(0.8.0+) or Vim8.2+ with if_lua.
Using vim-plug
Plug 'obaland/vfiler.vim'
Using dein.vim
call dein#add('obaland/vfiler.vim')
Using packer.nvim
use {
'obaland/vfiler.vim',
}
Basically, after installing in any way, start with the VFiler
command. The vfiler.vim will start in the current directory.
:VFiler
You can do various things with options
.
See command usage for details.
vfiler.vim can also be started by calling a require'vfiler'.start()
.
require('vfiler').start({path})
You can do various things with configs
.
See Lua function usage for details.
- Please see more details: Usage
vfiler.vim can be customized to your liking.
The following is an example.
:VFiler -auto-cd -auto-resize -keep -layout=left -name=explorer -width=30 -columns=indent,icon,name
require('vfiler/config').setup {
options = {
auto_cd = true,
auto_resize = true,
keep = true,
layout = 'left',
name = 'explorer',
width = 30,
columns = 'indent,icon,name',
},
}
require('vfiler').start()
let cfg = ":lua require('vfiler/config').setup {\n" .
\ "options = {\n" .
\ "auto_cd = true,\n" .
\ "auto_resize = true,\n" .
\ "keep = true,\n" .
\ "layout = 'left',\n" .
\ "name = 'explorer',\n" .
\ "width = 30,\n" .
\ "columns = 'indent,icon,name',\n" .
\ "},\n" .
\ "}\n"
call execute(cfg)
:VFiler
or
lua << EOF
require('vfiler/config').setup {
options = {
auto_cd = true,
auto_resize = true,
keep = true,
layout = 'left',
name = 'explorer',
width = 30,
columns = 'indent,icon,name',
},
}
EOF
:VFiler
Note: For Vim users, if you are using vim-plug, the setup scrpt should be put after "plug#end()"
call plug#begin()
Plug 'obaland/vfiler.vim'
call plug#end()
"setup begin here
lua << EOF
require('vfiler/config').setup {
-- ...
}
EOF
vfiler.vim has various other customization mechanisms.
- Please see more details: Customization
There are also some extension plugins for vfiler.vim.
Please use it as you like.
Basic (with devicons)
Explorer style (with devicons)
I am hoping to continually improve it as far as time permits.
Welcome your requests and suggestions, so please create an issue.
vfiler.vim
is licensed under the MIT license.
Copyright Β© 2018, obaland