i like to change the vim-plugin NERDTreeWinSize Variable programmatically.
I added the following function to my
vimrc but nothing is happening when i call the function. Any hints?
fun! NerdTreeWinSize( arg )
command! -nargs=* Ntws call NerdTreeWinSize( '<args>' )
i can call the function via
:Ntws 200 and wish that the
NERDTreeWinSize changes to
i also realized that nothing is happening when i run
let g:NERDTreeWinSize=100 in the vim command line.
But when i add the line
let g:NERDTreeWinSize=100 to my
vimrc vim adapts the