Show Menu
Cheatography

Personal Vim Keyboard Shortcuts (DRAFT) by

My personal Vim key bindings

This is a draft cheat sheet. It is a work in progress and is not finished yet.

LSP

K
Show hover inform­ation about symbol under cursor
<Ct­rl-­k>
Show signature inform­ation
gl
Show diagno­stics in floating window
[d
Previous diagnostic
]d
Next diagnostic
gd
Goto definition
gD
Goto declar­ation (some LSPs don't implement this)
go
Goto type definition
gi
List implem­ent­ations
gr
List references
<F2>
Rename symbol
<F4>
Select code action
Provided by
VonHei­kem­en/­lsp­-ze­ro.nvim
 

Autoco­mpl­etion

<Ct­rl-­e>
Toggle completion popup
<Ta­b>
Show completion (if in word)
<S-­Tab>
Literal tab character (if in word)
<Enter>/
<Ctrl-y>
Confirm selection
<Down>/
<Tab>/
<Ctrl-n>
Next item in list
<Up>/
<S-Tab>/
<Ctrl-p>
Previous item in list
<Ct­rl-­d>
Next placeh­older in snippet
<Ct­rl-­b>
Previous placeh­older in snippet
Provided by
VonHei­kem­en/­lsp­-ze­ro.nvim
 

Telescope