aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-10-23 21:30:29 +0800
committerjdhao <jdhao@hotmail.com>2020-10-23 21:30:29 +0800
commitc0ec24825f9ca9019546cb6622bfa0815f36f684 (patch)
tree1bb0e0fb2aec9fad191d21787fb910ec64fd9f2f
parent9e87d3b4abc58324c48ed0e8fbd2d3e7913c3db4 (diff)
use arrowkeys to switch windows
-rw-r--r--mappings.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/mappings.vim b/mappings.vim
index b777216..4d0e092 100644
--- a/mappings.vim
+++ b/mappings.vim
@@ -209,4 +209,9 @@ endfunction
function! s:GetBufNums() abort
return map(copy(getbufinfo({'buflisted':1})), 'v:val.bufnr')
endfunction
+
+nnoremap <Left> <C-W>h
+nnoremap <Right> <C-W>l
+nnoremap <Up> <C-W>k
+nnoremap <Down> <C-W>j
"}