Chapter 1 Flashcards

1
Q

What x command does

A

Delete character under cursor

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

What u command does

A

Undo changes

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

What dd command does

A

Performs a deletion of a line

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

What >{motion} command does

A

Increases the indentation

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

What do the G motion means

A

Go to the bottom of the file

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

What do the gg motion means

A

Go to the beginning of the file

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

What do the $ motion means

A

Go to the beginning of the line

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

What do the ^ motion means

A

Go to the end of the line

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

What c{motion} command does

A

Delete from cursor till end of the motion and inter insert mode

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

What C command does

A

Delete from cursor till end of the line and inter into insert mode

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

What s{motion} command does

A

Delete a character under the cursor and inter into insert mode

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

What S command does

A

Delete a line and inter into insert mode

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

What f/F{char} motions do

A

Find next/previous occurrence of the {char} on current line and place cursor on it

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

What t/T{char} motions do

A

Find next/previous occurrence of the {char} on current line and place cursor before it

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

What ;/, motions do

A

Repeat searches on the line forward/backward

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

What & command does

A

Repeat last :%substitution

17
Q

What * motion does

A

Search word under the cursor