_______ _______
___ _____ // / // /
\ | __ \ _/_ __\\_ / ___\\_ /
| |/ |/ (_) '_ \ // / / _ \ // /
| | / | | | // /_\ (_) // /_
|___/|___/|_|_| |// \\___// \
//_____/ //_____/
The plugin for easy window navigation.
(This is the lovely animal in the background.)
Upon installing the plugin,
- <leader>w will turn on the WinZoZ mode (a colored
status bar will make it apparent):
- every key pressed when this mode is active will be interpreted as if you pressed it after hitting Ctrl-W;
- by hitting Escape you'll go back to normal mode.
- If you're not happy with <leader>w, you can define
g:winzoz_trigger
in yourvimrc
. - When the WinZoZ mode is active, the status bar is colored with the
Search
highlight group. You can change this by definingg:winzoz_style
as you prefer. - When the WinZoZ mode is active, the status bar is populated with the full
path of the current buffer. You can change this by defining the
g:Winzoz_make_status_line_text
function. - There's an option to disable the plugin, but why doing it?
However you like. I use vim-plug.
Long story short, resizing and navigating windows has always been a pain for me and, with a large screen and many open windows, even pressing Ctrl-W several times has become a pain.
Since I did not find an existing plugin addressing this need, I started reading Learn Vimscript the Hard Way, which made me thing I could write a plugin myself, so I did it and had it reviewed on CodeReview, and here it is.
Why WinZoZ? Oh, well…