I used to use ZoomWin: https://github.com/vim-scripts/ZoomWin for toggle between one and multiple windows in Vim. But this plugin has one big issue. When I`m trying to restore multiple windows(vertical split) there is about 2-4 sec delay.
Do you know how to avoid that lag? Or maybe is better solution for that.
Version 25 solved problem: https://github.com/regedarek/ZoomWin
I try to use vim without any plugins as I don't want to rely on them when I work on another system. Coming upon this same issue now, I can propose some 'better ways' (alternative ways) as requested by the OP:
c-w-|
to have window take over (if using vsplits). c-w-=
to restore. c-w-_
for horizontal splitstmux
if available and run multiple instances of vim, c-b-z
to switch between fullscreen for the current paneI have listed these in order of my perceived practicality. Experience will of course be better with a dedicated plugin, but that is not always an option.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With