Added ,oq for open quickfix, and ,q to close it

This commit is contained in:
yan
2011-12-17 00:46:02 -08:00
parent 13010de156
commit 34b0c445e5
3 changed files with 8 additions and 5 deletions

View File

@@ -42,6 +42,11 @@ nmap ,ru :AV<CR>
" ,m is less stressful on the fingers than ,n
nmap ,m :NERDTreeToggle<CR>
" ,q to toggle quickfix window (where you have stuff like GitGrep)
" ,oq to open it back up (rare)
nmap <silent> ,q :cclose<CR>
nmap <silent> ,oq :copen<CR>
" move up/down quickly by using Ctrl-j, Ctrl-k
" which will move us around by functions
nnoremap <silent> <C-j> }