Vim window resize by arrow keys

This commit is contained in:
don philipe
2023-07-20 10:05:28 +02:00
parent b3aabeb1fe
commit 224f85eeae

6
.vimrc
View File

@@ -38,6 +38,12 @@ nmap <C-t> :tabnew<CR>
nmap <C-h> :tabprev<CR> nmap <C-h> :tabprev<CR>
nmap <C-l> :tabnext<CR> nmap <C-l> :tabnext<CR>
" Resize windows with arrow keys
nmap <Up> :res -1<CR>
nmap <Down> :res +1<CR>
nmap <Left> :vertical res -1<CR>
nmap <Right> :vertical res +1<CR>
" redefine some default colors " redefine some default colors
highlight Search ctermfg=Black highlight Search ctermfg=Black
highlight Comment ctermfg=012 highlight Comment ctermfg=012