diff --git a/vim/plugin/settings/yadr-keymap.vim b/vim/plugin/settings/yadr-keymap.vim index 5a1002f..7f493b0 100644 --- a/vim/plugin/settings/yadr-keymap.vim +++ b/vim/plugin/settings/yadr-keymap.vim @@ -97,6 +97,8 @@ imap wa " ==== NERD tree " Cmd-Shift-N for nerd tree nmap :NERDTreeToggle +" Open the project tree and expose current file in the nerdtree with Ctrl-\ +nnoremap :NERDTreeFind:vertical res 30 " ,q to toggle quickfix window (where you have stuff like GitGrep) " ,oq to open it back up (rare) @@ -112,8 +114,6 @@ autocmd FileType ruby map [m autocmd FileType rspec map } autocmd FileType rspec map { -" Open the project tree and expose current file in the nerdtree with Ctrl-\ -nnoremap :NERDTreeFind " Command-/ to toggle comments map :TComment