:e filename | Edit another file |
:split filename | Split window and load another file |
CTRL-W v | Vertical split current window |
CTRL-W s | Horizontal split current window |
CTRL-W Arrow Up | Move cursor up a window |
CTRL-W CTRL-W | Move cursor to another window (cycle) |
CTRL-W_ | Maximize current window |
CTRL-W= | Make all equal size |
10 CTRL-W+ | Increase window size by 10 lines |
:vsplit file | Vertical split |
:sview file | Same as split, but readonly |
:hide | Close current window |
:only | Keep only this window open |
:ls | Show current buffers |
:b 2 | Open buffer #2 in this window |
:bd[n] | Close current bufferIf [n] is given close buffer #n. #n can be gathered with :ls. |