Vim 101 Flashcards

Basic Vim Concepts

1
Q

Which modes does Vim have?

A

Vim has 3 modes:
Normal mode
Insert mode
Visual mode

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

Which navigation keys does Vim have?

A

h - move left
j - move down
k - mode up
l - move right

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

How to flip pages?

A

f - forward
b - backword

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

How to get into insert mode?

A

i or a

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

How to get out of insert mode?

A

Esc

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

How to delete the buffer?

A

u

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

How to get into visual mode?

A

v

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

How to select a portion of text?

A

In visual mode, use navigation keys

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

How to delete a portion?

A

d

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

How to append text?

A

a

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

How to get into the command palette?

A

:

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

How to ident a line?

A

<< and >>

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

How to copy portion?

A

y

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

How to paste a portion?

A

p

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

How to replace one character?

A

r (in normal mode)

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