added nvim window resizing with <C-Arrow>

This commit is contained in:
Christoph J. Scherr 2023-07-03 10:56:38 +02:00
parent 42dc76f53a
commit 254505c08a
Signed by: cscherrNT
GPG Key ID: 8E2B45BC51A27EA7
1 changed files with 6 additions and 0 deletions

View File

@ -89,3 +89,9 @@ map <Leader>" :vsplit<CR>
" split with <Leader>, then %" " split with <Leader>, then %"
map <Leader>% :split<CR> map <Leader>% :split<CR>
" resize windows
nnoremap <C-Left> :vertical resize -5<CR>
nnoremap <C-Right> :vertical resize +5<CR>
nnoremap <C-Up> :resize -2<CR>
nnoremap <C-Down> :resize +2<CR>