mirror of
https://github.com/don-philipe/dotfiles.git
synced 2026-11-06 16:14:12 +01:00
Vim window resize by arrow keys
This commit is contained in:
1 parent
b3aabeb1fe
commit
224f85eeae
1 file changed
+6
@@ -38,6 +38,12 @@ nmap <C-t> :tabnew<CR>
|
||||
nmap <C-h> :tabprev<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
|
||||
highlight Search ctermfg=Black
|
||||
highlight Comment ctermfg=012
|
||||
|
||||
Reference in new issue
Block a user