mirror of
https://github.com/don-philipe/dotfiles.git
synced 2025-11-08 14:47:03 +01:00
Vim window resize by arrow keys
This commit is contained in:
6
.vimrc
6
.vimrc
@@ -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