From: Samir Benmendil Date: Mon, 24 Oct 2016 07:58:01 +0000 (+0100) Subject: vim: add close preview mapping X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/233499b0481ec5a78acca487648f2b8e121f2429 vim: add close preview mapping --- diff --git a/vim/after/plugin/togglelist.vim b/vim/after/plugin/togglelist.vim index 8eb7b2b..dbb06f1 100644 --- a/vim/after/plugin/togglelist.vim +++ b/vim/after/plugin/togglelist.vim @@ -59,9 +59,10 @@ function! s:ToggleUnite() UniteResume endfunction -nmap [oq :copen -nmap ]oq :cclose -nmap coq :call ToggleQuickfixList() -nmap [ol :lopen -nmap ]ol :lclose -nmap col :call ToggleLocationList() +nnoremap [oq :copen +nnoremap ]oq :cclose +nnoremap coq :call ToggleQuickfixList() +nnoremap [ol :lopen +nnoremap ]ol :lclose +nnoremap col :call ToggleLocationList() +nnoremap cop :pclose