Cheatsheet of all my custom keymaps for nvim setup
|
add file
|
<leader>a |
|
toggle quick menu
|
<C-e> |
|
navigate to file 1
|
<C-h> |
|
navigate to file 2
|
<C-t> |
|
navigate to file 3
|
<C-n> |
|
navigate to file 4
|
<C-s> |
|
Autocompletion keymaps
|
|
|
select prev item
|
<C-p> |
|
select next item
|
<C-n> |
|
confirm selection
|
<C-y> |
|
complete
|
<C-Space> |
|
lsp keymaps over code
|
|
|
go to definition
|
n gd
|
|
hover over symbol under cursor
|
n K
|
|
find by symbol in workspace
|
n
<leader>vws |
|
open error diagnostics in float window
|
n
<leader>vd |
|
go to next diagnostics
|
n
[d |
|
go to next diagnostics
|
n
]d |
|
code action available on current symbol position
|
n
<leader>vca |
|
show all files where symbol under cursor is referenced
|
n
<leader>vrr |
|
rename all appearences of symbol under cursor
|
n
<leader>vrn |
|
displays signature info about symbol under cursor
|
i
<C-h> |
|
find files
|
<leader>pf |
|
find files registered in git
|
<C-p> |
|
find files by string using Grep >
|
<leader>ps |
|
help tags
|
<leader>vh |
|
git status
|
<leader>gs |
|
toggle undotree
|
<leader>u |
|
Move selected items up
|
v
J |
|
Move selected items down
|
v
K |
|
Rewrite selected symbols from buffer without rewriting buffer
|
n
<leader>p |
|
copy to clipboard
|
n, v
<leader>y |
|
revrite all ouccrancies of symbol under cursor in file
|
n
<leader>s |
|
surr*ound_words
|
ysiw)
|
(surround_words)
|
|
*make strings
|
ys$"
|
"make strings"
|
|
[delete ar*ound me!]
|
ds]
|
delete around me!
|
|
remove <b>HTML t*ags</b>
|
dst
|
remove HTML tags
|
|
'change quot*es'
|
cs'"
|
"change quotes"
|
|
<b>or tag* types</b>
|
csth1<CR>
|
<h1>or tag types</h1>
|
|
delete(functi*on calls)
|
dsf
|
function calls
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.