Normal and Visual - Navigation & Shortcuts Flashcards

1
Q

Return to Normal Mode

A

^[

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

Jump to line n

A

nG (gg same as 1G)

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

Auto-indent current line

A

==

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

Replace character under cursor

A

r (followed by new char)

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

Yank(copy) current line

A

yy

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

Jump to matching parentheses

A

%

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

Jump forward

A

^i

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

Paste before cursor

A

P

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

Delete character after cursor

A

x

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

Find file under cursor in path and Jump to it

A

gf

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

Undo

A

u

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

Redo

A

^r

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

Repeat

A

. (period)

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

Align top of screen with cursor

A

zt

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

Paste after cursor

A

p

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

Jump back

A

^o

16
Q

Shift current line right by shiftwidth

A

>>

18
Q

Shift current line left by shiftwidth

A

<<

19
Q

Align bottom of screen with cursor

A

zb

20
Q

Delete current line

A

dd

21
Q

Center screen on cursor

A

zz