diff --git a/cfg/90-quickfix-toggle.vim b/cfg/90-quickfix-toggle.vim index 87bbd72..f43749a 100644 --- a/cfg/90-quickfix-toggle.vim +++ b/cfg/90-quickfix-toggle.vim @@ -39,5 +39,9 @@ function! ToggleQuickfix(size, ...) noautocmd silent! exec ''.l:winnr.'wincmd w' endfunc +command! -bar QuickfixClose call ToggleQuickfix(0, 0) +command! -bar QuickfixOpen call ToggleQuickfix(0, 1) +command! -bar QuickfixToggle call ToggleQuickfix(0, 2) + nmap :call ToggleQuickfix(0) nmap q :call ToggleQuickfix(0)