Skip to content

Let NERDTree works like VimFiler. L key open directory node, and H key close directory node(even the cursor is on the child node)

Notifications You must be signed in to change notification settings

flw-cn/vim-nerdtree-l-open-h-close

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

vim-nerdtree-l-open-h-close

Let NERDTree works like VimFiler. That means:

  • l key open directory node, and
  • h key close directory node(even while the cursor is on the child node).

Installation

To install this plugin just put the plugin files in your ~/.vim (Linux/macOS) or ~/vimfiles (Windows).

Vundle

Plugin 'flw-cn/vim-nerdtree-l-open-h-close'

vim-plug

Plug 'flw-cn/vim-nerdtree-l-open-h-close'

Change key bindings

By default, l is the shortcut key to open directory node and h to close directory node.

If you want to change the key, please add following lines into your vimrc:

let g:NERDTreeMapOpenDirNode = 'L'
let g:NERDTreeMapCloseDirNode = 'H'

About

Let NERDTree works like VimFiler. L key open directory node, and H key close directory node(even the cursor is on the child node)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published