From 3d918ecbb4a7e5faa795b36f31effff7cf424239 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Thu, 5 Jan 2017 20:46:58 +0800 Subject: [PATCH] Add normal mappings : Shift + Tab Fix #46 --- config/mappings.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/mappings.vim b/config/mappings.vim index 48e1feeb8..e6d910f4c 100644 --- a/config/mappings.vim +++ b/config/mappings.vim @@ -218,7 +218,8 @@ call zvim#util#defineMap('vnoremap ', '', call zvim#util#defineMap('nnoremap', '[Window]', '' , 'Defind window prefix' ,'normal [Window]') call zvim#util#defineMap('nmap' , 's' , '[Window]', 'Use s as window prefix' ,'normal s') -call zvim#util#defineMap('nnoremap ', '', ':wincmd w', 'Switch to another buffer','wincmd w') +call zvim#util#defineMap('nnoremap ', '', ':wincmd w', 'Switch to next window or tab','wincmd w') +call zvim#util#defineMap('nnoremap ', '', ':wincmd p', 'Switch to previous window or tab','wincmd p') call zvim#util#defineMap('nnoremap ', '[Window]p', ':vsplit:wincmd w', \'vsplit vertically,switch to next window','vsplit | wincmd w') call zvim#util#defineMap('nnoremap ', '[Window]v', ':split', 'split window','split')