Skip to content

chaoren/vim-resizewindow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

More intuitive way to resize windows in Vim

This plugin provides direction based resizing of windows.

Using <C-W>+, <C-W>-, <C-W><, and <C-W>> to resize windows can be disorienting since <C-W>< and <C-W>> look like they should always be moving the window divider left and right, respectively, but they don't if you're in the right most window.

Customization

The default mappings are <C-W><C-H>, <C-W><C-J>, <C-W><C-K>, and <C-W><C-L>.

g:resizewindow_nomap

Use g:resizewindow_nomap to get <Plug> mappings only.
E.g.,

nmap <C-W>< <Plug>ResizeWindowLeft
nmap <C-W>+ <Plug>ResizeWindowDown
nmap <C-W>- <Plug>ResizeWindowUp
nmap <C-W>> <Plug>ResizeWindowRight

About

More intuitive way to resize windows in Vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published