Change the NERDTreeFind keymap to not statically set the nerdtree window size

With this change users can now change the variable g:NERDTreeWinSize and have it applied
to new instances of NERDTree created with the NERDTreeFind keymap ctrl-\
This commit is contained in:
Bret Little
2015-01-13 13:17:24 -07:00
parent 2e53da3dcd
commit 43a67b31cb

View File

@@ -75,7 +75,7 @@ imap <C-a> <esc>wa
" ==== NERD tree
" Open the project tree and expose current file in the nerdtree with Ctrl-\
nnoremap <silent> <C-\> :NERDTreeFind<CR>:vertical res 30<CR>
nnoremap <silent> <C-\> :NERDTreeFind<CR>:vertical<CR>
" ,q to toggle quickfix window (where you have stuff like Ag)
" ,oq to open it back up (rare)