Vim handbook #1
May 25, 2021
Couple of tips and tricks for handling multiple files in vim using windows.
First thing. Type Ctrl + w
to enter ‘window management mode’ — it’s how I call it. There are a couple of ways you can move from there.
Something you’d probably do is split the window.
v
to split verticallys
to split horizontally
When you have some windows open you have to move between them.
h/j/k/l
to move left/down/up/right
If you want to resize windows use:
shift + <
or shift + >
to resize on left/right
shift +
or shift —
to resize up/down
=
to bring back equal size of windows
o
to close all windows except the current
any other things to include — let me know.