-
Notifications
You must be signed in to change notification settings - Fork 0
/
hotkeys
77 lines (69 loc) · 3.51 KB
/
hotkeys
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
HOTKEYS
-------
remap.lua:
leader = SPACE
(n) leader h h h : Show hotkeys
(n) leader p v : Back to file structure
(v) J : Shift line down
(v) K : Shift line up
(x) leader p : Paste and send to black hole
(n,v) leader y : Yank to clipboard
(n) leader Y : Yank to clipboard
(n) leader d : Delete and send to black hole
(n) leader f : Format
(n) leader s : Replace all of cur word in file
(n) leader x : Make file executable (chmod +x)
(n) up : Change pane up
(n) down : Change pane down
(n) left : Change pane left
(n) right : Change pane right
(n) leader leader v : Split pane vertical
(n) leader leader h : Split pane horizontal
(n) leader - : Shrink pane
(n) leader = : Expand pane
(n) leader TAB : Next buffer
(n) leader TAB TAB : Previous buffer
(n) leader v : Visual mode in word
(n) leader m d : Toggle Markdown Preview
(n) leader right : Buffer right
(n) leader left : Buffer left
(n) leader down : Buffer delete
nerdtree.lua:
(n) leader t : Toggle nerdtree
undotree.lua:
(n) leader u : Toggle undotree
harpoon.lua:
(n) leader h a : Add file
(n) leader h m : Toggle quick menu
(n) leader h n : Navigate next
(n) leader h p : Navigate previous
fugitive.lua:
(n) leader g s : Git status
telescope.lua:
(n) leader f f : Find files in directory
(n) Ctrl f : Find files in git directory
(n) leader f s : Find string in directory
lsp.lua:
(n) g d : Go to definition
(n) K : Hover
(n) leader v w s : Worspace symbol
(n) leader v d : Diagnostics open float
(n) [ d : Diagnostics go to next
(n) ] d : Diagnostics go to prev
(n) leader v c a : Code action
(n) leader v r r : References
(n) leader v r n : Rename
(i) Ctrl h : Signature help
go:
(n) leader e r r : if err != nil block
(n) leader s t j : Add struct tags json
(n) leader s t y : Add struct tags yaml
(n) leader s t x : Add struct tags xml
(n) leader b : Toggle debug breakpoint
(n) leader B : Clear all breakpoints
(n) leader D : Debug go test
(n) F7 : Step over
(n) F8 : Step into
(n) F9 : Step out
(n) F10 : Continue (or start DAP)
(n) F12 : Terminate DAP