When opening nerdtree wtih C-\ ensure consistent sizing
This commit is contained in:
parent
be12982398
commit
a5a86a2a7d
@ -97,6 +97,8 @@ imap <C-a> <esc>wa
|
|||||||
" ==== NERD tree
|
" ==== NERD tree
|
||||||
" Cmd-Shift-N for nerd tree
|
" Cmd-Shift-N for nerd tree
|
||||||
nmap <D-N> :NERDTreeToggle<CR>
|
nmap <D-N> :NERDTreeToggle<CR>
|
||||||
|
" Open the project tree and expose current file in the nerdtree with Ctrl-\
|
||||||
|
nnoremap <silent> <C-\> :NERDTreeFind<CR>:vertical res 30<CR>
|
||||||
|
|
||||||
" ,q to toggle quickfix window (where you have stuff like GitGrep)
|
" ,q to toggle quickfix window (where you have stuff like GitGrep)
|
||||||
" ,oq to open it back up (rare)
|
" ,oq to open it back up (rare)
|
||||||
@ -112,8 +114,6 @@ autocmd FileType ruby map <buffer> <D-k> [m
|
|||||||
autocmd FileType rspec map <buffer> <D-j> }
|
autocmd FileType rspec map <buffer> <D-j> }
|
||||||
autocmd FileType rspec map <buffer> <D-k> {
|
autocmd FileType rspec map <buffer> <D-k> {
|
||||||
|
|
||||||
" Open the project tree and expose current file in the nerdtree with Ctrl-\
|
|
||||||
nnoremap <silent> <C-\> :NERDTreeFind<CR>
|
|
||||||
|
|
||||||
" Command-/ to toggle comments
|
" Command-/ to toggle comments
|
||||||
map <D-/> :TComment<CR>
|
map <D-/> :TComment<CR>
|
||||||
|
Loading…
Reference in New Issue
Block a user