Manage files and directories in vim
Inspired by vidir by Joey Hess (https://joeyh.name/code/moreutils/)
Bundle 'c0r73x/vimdir.vim'
NeoBundle 'c0r73x/vimdir.vim'
Download the plugin and paste it into your plugin directory.
To list files and folders
:Vimdir [directory]
To list files and folders recursive
:VimdirR [directory]
If no directory is specified Vimdir will use the current path
Changes will be applyed when you save the vimdir buffer. If you want to cancel just close the buffer without saving.
vimdir.vim doesn't come with highlighting support but using the vidir-ls.vim plugin works perfectly.
To show hidden files and folders set this in your vimrc
let g:vimdir_show_hidden = 1
To force removal of files and folders set this in your vimrc (will add this to the overwrite code when its implemented)
let g:vimdir_force = 1
You can use the bin/vimdir script to execute vimdir directly from the terminal. Just place it in your path and run vimdir.
- Add support to expand folders
- Prompt for file overwrite