How do I control windows using Ex commands in scripts and mappings instead of Ctrl-W shortcuts?
:wincmd {key} is the Ex command equivalent of every {key} window shortcut.
category:
buffers-windows
tags:
#buffers-windows
#windows
#ex-commands
#normal-mode
How do I make Vim equalize split windows only horizontally?
If you use many splits, automatic equalization can feel disruptive when Vim resizes both height and width after layout changes.
category:
buffers-windows
tags:
#buffers
#windows
#layout
#options
How do I execute Ctrl-W window commands from a Vimscript mapping or function without using :normal?
:wincmd is the Ex command equivalent of any keystroke.
category:
buffers-windows
tags:
#buffers-windows
#windows
#ex-commands
How do I execute Ctrl-W window commands from the command line or a Vimscript function?
:wincmd {key} executes any {key} window command from the Ex command line or from inside a Vimscript function.
category:
buffers-windows
tags:
#windows
#ex-commands
#buffers-windows
How do I make all split windows the same size?
The = (Ctrl+w then =) command resizes all open split windows so they have equal width and height.
category:
buffers-windows
tags:
#buffers-windows
#normal-mode