1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

use arrowkeys to switch windows

This commit is contained in:
jdhao 2020-10-23 21:30:29 +08:00
parent 9e87d3b4ab
commit c0ec24825f

View File

@ -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
"}