From 53d9f72e41e79a1074054b2c9c32c8439a1791cc Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Fri, 26 Oct 2018 17:23:08 +0100 Subject: [PATCH] vim: enable / mappings in terminal window too --- vim/vimrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 6fe4aec..3c45644 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -449,8 +449,10 @@ nnoremap zx zMzxzt map :ls:b " move between windows (skip previewwindow) -nnoremap w:if &previewwindow \| wincmd w \| endif -nnoremap W:if &previewwindow \| wincmd W \| endif +nnoremap w:if &previewwindow \| wincmd w \| endif +nnoremap W:if &previewwindow \| wincmd W \| endif +tnoremap w:if &previewwindow \| wincmd w \| endif +tnoremap W:if &previewwindow \| wincmd W \| endif "xterm mouse with middleclick paste nnoremap i -- 2.48.1