Vim Commands Flashcards

1
Q

open a file in a new window

A

:split

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

split a window vertically

A

:vsplit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

cycle between windows

A

ctrl-w ctrl-w

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

close current window

A

:hide

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

keep only the current window open

A

:only

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

show named registers and what’s in them

A

:reg

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

paste what’s in register “5

A

“5p

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Create a new window

A

:split

How well did you know this?
1
Not at all
2
3
4
5
Perfectly