Toggle zoom in / out individual windows (splits)
A simple plugin to toggle zoom of current window within the current tab.
This is heavily inspired from tmux's zoom pane feature.
Use your favorite plugin manager to install this plugin (recommended).
git clone https://github.com/dhruvasagar/vim-zoom.git ~/.vim/bundle/vim-zoom
If however you don't use a plugin manager such as pathogen, vundle, neobundle, vim-plug then you can copy all files within this repository directly within your ~/.vim folder. (not recommended)
Simply use the provided mapping <C-W>m to toggle zoom in and out for the current window
VIM Zoom provides
zoom#statusline()API to be used for adding
g:zoom#statustextvalue to your statusline while your window is zoomed.
g:zoom#statustextdefaults to value
'status'. You may add this to your statusline like this :
If you're using some complex statusline plugin, you may need to refer to it's documentation to figure out how to add this to your statusline.
This plugin was heavily inspired by tmux's zoom pane feature.