sponsor Vim development Vim logo Vim Book Ad

Toggle NERDTree width : Changes width of the NERDTree to see even the longest file names

 script karma  Rating 31/17, Downloaded by 1366  Comments, bugs, improvements  Vim wiki

created by
Daniel Schemala
 
script type
utility
 
description
This little script is a plugin for the NERDTree plugin. It adds a new key (w) for the NERDTree which toggles its width between the normal width and the width of the longest file name.
Quite useful if you want to have a clear view on your files and don't want to maximize your NERDTree.
 
install details
You need, of course, the NERDTree plugin.
Then, put this script in your ~/.vim/nerdtree_plugin/
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
toggle_width.vim 1.0 2012-07-17 7.0 Daniel Schemala Initial upload
ip used for rating: 216.73.216.46

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github