cfg - Added quickfix window commands
This commit is contained in:
parent
3148837e1a
commit
46f9922bbd
1 changed files with 4 additions and 0 deletions
|
@ -39,5 +39,9 @@ function! ToggleQuickfix(size, ...)
|
||||||
noautocmd silent! exec ''.l:winnr.'wincmd w'
|
noautocmd silent! exec ''.l:winnr.'wincmd w'
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
command! -bar QuickfixClose call ToggleQuickfix(0, 0)
|
||||||
|
command! -bar QuickfixOpen call ToggleQuickfix(0, 1)
|
||||||
|
command! -bar QuickfixToggle call ToggleQuickfix(0, 2)
|
||||||
|
|
||||||
nmap <silent> <F12> :call ToggleQuickfix(0)<CR>
|
nmap <silent> <F12> :call ToggleQuickfix(0)<CR>
|
||||||
nmap <silent> <Leader>q :call ToggleQuickfix(0)<CR>
|
nmap <silent> <Leader>q :call ToggleQuickfix(0)<CR>
|
||||||
|
|
Loading…
Reference in a new issue