Cheatography
https://cheatography.com
Personal neovim keyboard lookup
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Window [N]
Ctrl+w ⇒ [motion ⇒] (hjkl) |
Move cursor to window in [motion] direction |
Ctrl+w ⇒ (HJKL) |
Move window to the very edge of the direction |
Ctrl+w ⇒ T |
Move window to new tab |
Ctrl+w ⇒ c |
Close current window |
Telescope [N]
\ff |
Find files |
\fg |
Find in all |
\fb |
Find in buffer |
\fh |
Find in help |
Tree
f |
Filter |
I |
Show git ignored files |
r |
Rename file |
a |
Create new file |
Basics [N]
r |
Replace char under cursor |
cw |
Remove word and enter insert mode |
|
|
GOTO [N]
Ctrl+O |
Go back after goto |
g[number] (hjkl) |
Go relative [number] in direction |
gg |
Go to start of document |
G |
Go to end of document |
[number]w |
Jump [number of] word(s) |
[number]W |
Jump [number of] word(s) backwards |
LSP [N]
gi |
Goto implementation |
gd |
Goto definition |
gD |
Goto declaration |
K |
View information of item under cursor |
Ctrl+k |
View signature |
<space>ca |
Show code actions |
<space>rn |
Interactive rename |
<space>D |
Show type definition |
<space>f |
Format |
gr |
Show references |
<space>e |
Open diagnostice float |
([])d |
Goto prev/next diagnostics |
<space>q |
Show list of diagnotstics in file |
|