X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/9b2ce786c100848e27b6c5a924450c3cfbfe6354..0637757f6cc057218ecf0000c44821946df476da:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index b96d24c..ef35da8 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -326,7 +326,7 @@ command! ToggleAutoChecktime let b:autochecktime=!get(b:, 'autochecktime', 0) | " bindings {{{1 -" allow both and / to be +" allow both and \ to be map " make @@ -435,9 +435,9 @@ nnoremap zx zMzxzt map :ls:b -" move between windows -nnoremap w -nnoremap W +" move between windows (skip previewwindow) +nnoremap w:if &previewwindow \| wincmd w \| endif +nnoremap W:if &previewwindow \| wincmd W \| endif "xterm mouse with middleclick paste nnoremap i