https://github.com/roxma/vim-window-resize-easy
https://github.com/roxma/vim-window-resize-easy
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/roxma/vim-window-resize-easy
- Owner: roxma
- Created: 2017-01-18T03:03:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-19T04:16:24.000Z (over 9 years ago)
- Last Synced: 2025-02-24T03:23:57.151Z (over 1 year ago)
- Language: VimL
- Size: 6.84 KB
- Stars: 17
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vim-window-resize-easy
This is a very simple plugin that hacks vim's builtin window resizing keys,
inspired by tmux's window resizing keys.
Normally when you need to decrease vim's window horizontally, you may need to
press `<` `<` `<` ...
With vim-window-resize-easy, after pressing `<`, you only need to repeat
the action with `<` `<` `<`. If you don't press any key in 2 seconds, it
returns to normal mode automatically.
## Keys supported in resizing mode:
There're all builtin keys combined with `` for window resizing on vim.
Type `:help resize` for more information.
- `<` horizontal smaller
- `>` horizontal greater
- `-` vertical decrease
- `+` vertical increase
- `=` equalize
- `_` maximize
- `|` vertical maximize
## Requirement
- vim 7.4.1952+ or neovim (with timers support)
Happy editting!