VIM commands Flashcards

Remember VIM commands

1
Q

Insert at the end of line

A

A

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

append at the cursor

A

a

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

Insert at the begining of line

A

I

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

move to the next word

A

w

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

move to the 3rd word

A

3w

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

delete 3 lines

A

3dd

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

delete 5 chars after cursor

A

5x

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

delete 3 chars before cursor

A

3X

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

delete charactes under cursor till the end of line

A

D

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

Move by end of words

A

e

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

Move to begining of line

A

0

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

Move to the end of file

A

G

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

Move to the begining of file

A

gg

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

Move to the line 287

A

287G

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

Jump to matching bracket

A

% while standing on a bracket

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

Forward search

A

?word

17
Q

Backward search of “function”

A

/function

18
Q

open a line below cursoe

A

o

19
Q

open a line above the cursor

A

O

20
Q

move by words backward

A

b