]> git.rmz.io Git - dotfiles.git/commitdiff
vim: add close preview mapping
authorSamir Benmendil <samir.benmendil@ultrahaptics.com>
Mon, 24 Oct 2016 07:58:01 +0000 (08:58 +0100)
committerSamir Benmendil <samir.benmendil@ultrahaptics.com>
Mon, 24 Oct 2016 07:58:01 +0000 (08:58 +0100)
vim/after/plugin/togglelist.vim

index 8eb7b2b6050d1271c9a3adf437895bc125c4599d..dbb06f1ec74dfa8ee2e11ad4739f7b152a07b86a 100644 (file)
@@ -59,9 +59,10 @@ function! s:ToggleUnite()
   UniteResume
 endfunction
 
-nmap <silent> [oq :copen<cr>
-nmap <silent> ]oq :cclose<cr>
-nmap <silent> coq :call <SID>ToggleQuickfixList()<CR>
-nmap <silent> [ol :lopen<cr>
-nmap <silent> ]ol :lclose<cr>
-nmap <silent> col :call <SID>ToggleLocationList()<CR>
+nnoremap <silent> [oq :copen<cr>
+nnoremap <silent> ]oq :cclose<cr>
+nnoremap <silent> coq :call <SID>ToggleQuickfixList()<CR>
+nnoremap <silent> [ol :lopen<cr>
+nnoremap <silent> ]ol :lclose<cr>
+nnoremap <silent> col :call <SID>ToggleLocationList()<CR>
+nnoremap <silent> cop :pclose<CR>