Chapter 2 Flashcards

1
Q

How many basic modes does vim have

A
Normal, 
Visual,
Select,
Insert,
Command-Line, 
Ex-mode,
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How many additional modes does vim have

A
Operating-pending, 
Replace, 
Virtual replace, 
Insert Normal, 
Insert Visual, 
Insert Select
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to enter into ex mode

A

Q - like ed(:vi[sual] for exit )

gQ - like Q, but with autocompletion

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

How to enter into Virtual replace mode

A

gR

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

How to enter into Insert Normal mode

A

In insert mode press

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

How to enter into Insert Visual mode

A

From Insert Normal press any visual keys v, V etc

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

How to enter into Select mode

A

In any visual mode press g

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

What {number}/ commands do

A

Find a number on a line and add/substract {number} or 1

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

What g/g commands do in visual block

A

Increase number on each line incrementally

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