I have vsplit two windows and make them same width. Now I want to decrease the left window by five characters and increase the right window by five characters,when the cursor is in the left window, how to input command in normal mode or ex mode?
In general Ctrl-W commands do it.
Specifically here N Ctrl-W < shrinks the current window by one (or N if specified) column and N Ctrl-W > extends by one column (or N if specified).
Type :help window-resize for all related commands.
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