Skip to content

Commit

Permalink
feat(win): resize <c-w>v/h +/-
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesGueunet committed Dec 11, 2018
1 parent e16f40e commit 02b342f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/shortcuts.vim
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,10 @@ map <C-Right> <C-w>l
nmap <Leader>wv :vsplit<CR>
nmap <Leader>wh :split<CR>
nmap <Leader>wt :tabnew<CR>
nmap <C-w>+ :vertical resize +5<CR>
nmap <C-w>- :resize +5<CR>
nmap <C-w>v+ :<C-U>exe "vertical resize +".v:count1<CR>
nmap <C-w>v- :<C-U>exe "vertical resize -".v:count1<CR>
nmap <C-w>h- :<C-U>exe "resize -".v:count1<CR>
nmap <C-w>h+ :<C-U>exe "resize +".v:count1<CR>
" Zoom the current focused split

Expand Down

0 comments on commit 02b342f

Please sign in to comment.