Close All Other Splits (windows) in vim

If you work with multiple splits and want to focus on only the current window, you may find yourself jumping around closing all other windows.

If you work with multiple splits and want to focus on only the current window, you may find yourself jumping around closing all other windows. Even with ZZ this can be tedious.

Use :only (or :on) to close all windows except the currently active window.