Skip to content

c0r73x/vimdir.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vimdir.vim

Manage files and directories in vim

Inspired by vidir by Joey Hess (https://joeyh.name/code/moreutils/)

Installation

Vundle

Bundle 'c0r73x/vimdir.vim'

NeoBundle

NeoBundle 'c0r73x/vimdir.vim'

Manual

Download the plugin and paste it into your plugin directory.

Usage

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.

Colors

vimdir.vim doesn't come with highlighting support but using the vidir-ls.vim plugin works perfectly.

Configuration

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

bin/vimdir

You can use the bin/vimdir script to execute vimdir directly from the terminal. Just place it in your path and run vimdir.

Todo

  • Add support to expand folders
  • Prompt for file overwrite

About

Manage files and directories in vim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published