Hi,
jailed wrote:
>
> I figured it out. There is a line (:91) in the NERD_tree.vim file
> call s:initVariable("g:NERDTreeWinSize", 31)
> I changed this according to the value I needed. Not sure if this is a good
> way but worked for me.
you should better not modify the script, because your changes will get
lost when you get an update.
The function s:initVariable() is used by NERDTree to initialize a global
variable if it does not already exist. So the better way to set a new
width is to put something like
let g:NERDTreeWinSize = 40
in your ~/.vimrc.
Regards,
Jürgen
--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php