Skip to content

alexandre-forks/toggle_width.vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

toggle_width.vim

Toggle the width of the NERDTree window

This little script is a plugin in for the NERDTree Vim plugin. It adds a new key (that is, w) which toggles the width of the NERDTree window between the default width and the width of the longest file name.

Quite useful if you want to have a clear view on your files and you don't want to maximize your NERDTree.

Installation

You need, of course, the NERDTree. Then, put this script in the nerdtree_plugin/ subdirectory in the installation of NERDTree.

Using Plug

If you use Plug, just add the line below to your plugin list (probably some place in the .vimrc):

Plug alexandre/toggle_width.vim

About

Toggle the width of the NERDTree window

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%