Created
June 5, 2012 18:16
-
-
Save Osse/2876664 to your computer and use it in GitHub Desktop.
NERDTree toggler that disables 'list' in it.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nnoremap <F2> :call MyNerdTreeToggle()<CR> | |
function! MyNerdTreeToggle() | |
NERDTreeToggle | |
if bufname('NERD_tree') != "" | |
call setwinvar(bufwinnr('NERD_tree'), '&list', 0) | |
endif | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment