Show Menu
Cheatography

VIM Keyboard Shortcuts (DRAFT) by

Personal vim bindings

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

Files/­Buffers

<le­ade­r>x
Close Buffer
]b
Next Buffer
[b
Previous Buffer
-
Open Oil (FS editor)
<C-­n>
Open Filetree
<le­ade­r>.
Open Scratch Space
<C-­hjk­l>
Move between splits
<S-­h>
Toggle hidden (oil, treeview)
 

Completion

<C+­y>
Select­/Accept
<C+­p>
Select Prev
<C+­n>
Select Next
<C+­c>
Hide Menu
<C+­k>
Show Signature
<C+­spa­ce>
Open Docs
<C+­b>
Scroll Doc Up
<C+­f>
Scroll Doc Down
<ta­b>
Snippet Forward
<S-­tab>
Snippet Backwards

LSP Bindings

<le­ade­r>ca
Goto Code Action
<le­ade­r>cr
Code Rename
grr
Goto References
gri
Goto Implem­ent­ations
grt
Goto Type Definition
grd
Goto Definition
grD
Goto Declar­ation
gl
Show Local Diagno­stics
grl
List Document Diagno­stics
grL
List Workspace Diagno­stics
grs
Goto Document Symbols
grS
Goto Workspace Symbols
 

Vim Search

<le­ade­r>ff
Find File
<le­ade­r>fg
Find Word (grep)
<le­ade­r>fh
Find Help
<le­ade­r>fr
Resume Last Find
<le­ade­r>fs
Find Scratch Space
<le­ade­r>fw
Find Word Under Cursor
<le­ade­r>fW
Find WORD Under Cursor
<en­ter>
Select File
<C-­s>
Open in H Split
<C-­v>
Open in V Split

AeroSpace

<op­t+/>
Tile Mode
<op­t+,>
Accordion More
<op­t+h­jkl>
Focus Window
<S-­opt­+hj­kl>
Move window
<op­t+1­234­5>
View Workspace N
<S-­opt­+12­345>
Move to Workspace N
<S-­opt­+;>
Toggle Special
Special: f
Toggle Window Float
Special: <BS>
Close all but current
Special: <S-­opt­+hj­kl>
Join with