-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelp
34 lines (28 loc) · 911 Bytes
/
help
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---- Navigation ----
Ctrl-o: Hop to
---- Code -----
gd Go to definition
gr Go to references
gi: Go to implementation
go: Show hover documentation
gs: Show signature documentation
Aeral
Alt-a: Toggle navigation view
Alt-j: Go to next navigation symbol
Alt-k: Go to previous navigation symbol
---- Buffer Management ----
Ctrl-x: Close buffer
Alt-h: Go to previous buffer
Alt-l: Go to next buffer
g+h/j/k/l: Move to split buffer
---- Search ----
Ctrl-f: Fuzzy search in current buffer
Ctrl-b: Find existing buffers
Ctrl-p: Search/replace with Spectre
:%s/foo/bar/g: replace all in whole file
:%s/foo/bar/gc: replace all with confirmation.
-> using ctrl-r+" will paste current register
---- Macros ----
qx: Start recording macro on x, then:
q: Stop recording, then
@x or @@: To run macro x or last run