Vim 101 Flashcards
Basic Vim Concepts
1
Q
Which modes does Vim have?
A
Vim has 3 modes:
Normal mode
Insert mode
Visual mode
2
Q
Which navigation keys does Vim have?
A
h - move left
j - move down
k - mode up
l - move right
3
Q
How to flip pages?
A
f - forward
b - backword
4
Q
How to get into insert mode?
A
i or a
5
Q
How to get out of insert mode?
A
Esc
6
Q
How to delete the buffer?
A
u
7
Q
How to get into visual mode?
A
v
8
Q
How to select a portion of text?
A
In visual mode, use navigation keys
9
Q
How to delete a portion?
A
d
10
Q
How to append text?
A
a
11
Q
How to get into the command palette?
A
:
12
Q
How to ident a line?
A
<<
and >>
13
Q
How to copy portion?
A
y
14
Q
How to paste a portion?
A
p
15
Q
How to replace one character?
A
r (in normal mode)