Basics Flashcards

(49 cards)

1
Q

Save and quit

A

ZZ

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

Revert to last saved version

A

:e!

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

Quit and don’t save

A

:q!

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

Left one space

A

h

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

Down one line

A

j

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

Up one line

A

k

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

Right one space

A

l

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

Display line numbers

A

:set nu

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

Don’t display line numbers

A

:set nu!

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

Insert space at 10 chars from right margin

A

:set wm=10

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

Beginning of line

A

0

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

End of line

A

$

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

Move forward by word, counting symbols

A

w

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

Move forward by word, not counting symbols

A

W

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

Move backward by word, counting symbols

A

b

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

Move backward by word, not counting symbols

A

B

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

Change to the end of the word

A

cw

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

Change back 2 words

A

c2b

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

Change to the end of the line

A

c$

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

Change to the beginning of the line

21
Q

Replace one character

22
Q

Go into overstrike mode

23
Q

Change entire line

24
Q

Change 3 entire lines

25
Chase case of character under the cursor
~
26
Change the case of 5 characters
5~
27
Delete word
dw
28
Delete from cursor to the end of the line
D
29
Delete the character under the cursor
x
30
Undo last command
u
31
Restore line before any changes
U
32
Insert
i
33
Append
a
34
Append text to end of current line
A
35
Insert text at the beginning of the current line.
I
36
Delete character at cursor and substitute text.
s
37
Delete line and substitute text.
S
38
Open blank line below cursor for text
o
39
Open blank line above cursor for text
O
40
Join current line with line below
J
41
To first character of next line
+
42
To first character of previous line
-
43
To end of word
e or E
44
Repeat last action
.
45
Transpose two letters
xp
46
Put last deleted thing into the buffer after the cursor
p
47
Put last deleted thing into the buffer before the cursor
P
48
Copy word to buffer
yw
49
Copy line to buffer
yy or Y