vim Flashcards

1
Q

.

A

repeat last command

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

dd

A

remove line

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

x

A

remove next character

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

> G

A

increase indentation to end of file

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

j

A

one line down

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

k

A

one line up

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

$

A

go to end of line

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

a

A

insert after

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

A

A

insert at end of current line

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

C

A

clear to end of line and insert

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

O

A

add line above and insert

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

o

A

add line below and insert

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

s

A

remove current character and insert

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

;

A

next match

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

f

A

find char (look ahead)

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

t

A

find char (look ahead) and place cursor before it

17
Q

F

A

f, but look behind

18
Q

T

A

t, but look behind

19
Q

/pattern

A

scan (look ahead)

20
Q

?pattern

A

scan (look behind)

21
Q

:s/target/replacement

A

substitute

22
Q

qx{changes}q

A

execute a sequence of changes

23
Q

n

A

next /pattern

24
Q

N

A

prev ?pattern

25
Q

@x

A

play a series of changes again

26
Q

&

A

repeat :substitute command

27
Q

,

A

prev match

28
Q

*

A

search for the word under the cursor