-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheatsheet.txt
More file actions
147 lines (121 loc) · 4.65 KB
/
cheatsheet.txt
File metadata and controls
147 lines (121 loc) · 4.65 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# CHEATSHEET FORMAT:
# starts normal comment; double # starts metadata comment for specifying sections and tags
## custom-keymaps @custom @my-keymaps
Enter command mode | <Space>
Esc | <Caps_Lock>
Open init.lua in split | <F2>
Save and source current buffer | <Leader>xs
Shuffle the lines of a file | <Leader>r
Google word under cursor or visual selection | <Leader>sg
Search Wikipedia for word under cursor or visual selection | <Leader>sw
Open Python in floating terminal window | <Leader>p
Open file under cursor in split, creating if necessary | <Leader>gf
## Specific-Vim-Commands @vim
Select paragraph | vip
## LazyDo
Toggle LazyDo | <F3>
## Floaterm
Toggle Floaterm window | <F4>
## TelescopeShortcuts @telescope
Telescope main menu | <Leader>tt
Telescope autocommands | <Leader>ta
Telescope buffers | <Leader>tb
Telescope command history | <Leader>tch
Telescope commands | <Leader>tcm
Telescope colorschemes | <Leader>tco
Telescope tags | <Leader>tcta
Telescope current buffer tags | <Leader>tctb
Telescope diagnostics | <Leader>td
Telescope find files | <Leader>tff
Telescope filetypes | <Leader>tft
Telescope git files | <Leader>tgf
Telescope grep string | <Leader>tgs
Telescope help tags | <Leader>the
Telescope highlights | <Leader>thi
Telescope jumplist | <Leader>tj
Telescope keymaps | <Leader>tk
Telescope live grep | <Leader>tlg
Telescope location list | <Leader>tll
Telescope marks | <Leader>tm
Telescope find files in Neovim directory | <Leader>tn
Telescope oldfiles | <Leader>to
Telescope pickers | <Leader>tpi
Telescope find files in Neovim data directory | <Leader>tpl
Telescope quickfix | <Leader>tqf
Telescope registers | <Leader>tr
Telescope resume | <Leader>t<Space>
Telescope search history | <Leader>tsh
Telescope spell suggest | <Leader>tsp
Telescope symbols | <Leader>tsy
Telescope vim options | <Leader>tv
Telescope current buffer fuzzy find | <Leader>t/
## TelescopeCommands @telescope
See keymaps in Telescope picker | <C-h>
Go to file selection as split | <C-x>
Go to file selection as vsplit | <C-v>
Go to file in new tab | <C-t>
Toggle selection and move to next selection | <Tab>
Toggle selection and move to prev selection | <S-Tab>
Send all selected items to qflist | <M-q>
Send all items not filtered to qflist | <C-q>
Insert cword in original window into prompt | <C-r><C-w>
Insert cWORD in original window into prompt | <C-r><C-a>
Insert cfile in original window into prompt | <C-r><C-f>
Insert cline in original window into prompt | <C-r><C-l>
## FzfLua
FzfLua main menu | <Leader>ff
FzfLua awesome_colorschemes | <Leader>fa
FzfLua colorschemes | <Leader>fc
FzfLua diagnostics_document | <Leader>fd
FzfLua files | <Leader>fi
FzfLua helptags | <Leader>fh
FzfLua keymaps | <Leader>fk
## mini.files @mini
Open MiniFiles in current file's directory (global) | -
Open MiniFiles in cwd (global) | _
Open MiniFiles selection in split below | <C-s>
Open MiniFiles selection in split right | <C-v>
Set MiniFiles selection as cwd | g~
Yank path of MiniFiles selection | gy
## mini.bracketed @ mini
Go to previous buffer | [b
Go to next buffer | ]b
Go to previous comment block | [c
Go to next comment block | ]c
Go to previous conflict marker | [x
Go to next conflict marker | ]x
Go to previous diagnostic | [d
Go to next diagnostic | ]d
Go to previous file on disk | [f
Go to next file on disk | ]f
Go to previous indent change | [i
Go to next indent change | ]i
Go to previous jump from jumplist inside current buffer | [j
Go to next jump from jumplist inside current buffer | ]j
Go to previous location from location list | [l
Go to next location from location list | ]l
Go to previous old file | [o
Go to next old file | ]o
Go to previous quickfix entry from quickfix list | [q
Go to next quickfix entry from quickfix list | ]q
Go to previous tree-sitter node and parents | [t
Go to next tree-sitter node and parents | ]t
Go to previous undo state from specially tracked linear history | [u
Go to next undo state from specially tracked linear history | ]u
Go to previous window in current tab | [w
Go to next window in current tab | ]w
Go to previous yank selection replacing latest put region | [y
Go to next yank selection replacing latest put region | ]y
## mini.bufremove @mini
Delete current buffer | :lua MiniBufRemove.delete()
Unshow current buffer in window | :lua MiniBufRemove.unshow_in_window()
Wipeout buffer without closing pane | <Leader>bw
## mini.jump2d @mini
Show jump targets | <Enter>
## VimWiki
Open link in split | <Leader><Space>
Increase the level of a list item (Insert Mode) | <C-T>
Decrease the level of a list item (Insert Mode) | <C-D>
Change the symbol of the current list item (Insert Mode) | <C-L><C-J>
## mini.sessions @mini
Save current mini session | <Leader>ss