Vim Commands Flashcards
1
Q
open a file in a new window
A
:split
2
Q
split a window vertically
A
:vsplit
3
Q
cycle between windows
A
ctrl-w ctrl-w
4
Q
close current window
A
:hide
5
Q
keep only the current window open
A
:only
6
Q
show named registers and what’s in them
A
:reg
7
Q
paste what’s in register “5
A
“5p
8
Q
Create a new window
A
:split