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/­Buf­fer­s/G­eneral

<le­ade­r>x
Close Buffer
]b/[b
Next/P­revious 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)
]s/[s
Next/P­revious Spell
z=
Spell Sugges­tions
zg
Add Word to dictionary
zw
Mark Word as bad

Fzf Search

<le­ade­r>fb
Find Buffer
<le­ade­r>ff
Find File
<le­ade­r>fg
Find Word (grep)
<le­ade­r>fh
Find Help
<le­ade­r>fk
Find Keymapping
<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
 

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
]d
Next Diagnostic
[d
Prev diagnostic
 

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 Alt Mode
Alt: f
Toggle Window Float
Alt: <BS>
Close all but current
Alt: <S-­opt­+hj­kl>
Join with

Ghostty

<D-­d>
Split Right
<S-­D-d>
Split Down
<D-­]>
Select Next Split
<D-­[>
Select Prev Split
<D-­PgU­p>
Scroll Up
<D-­PgD­n>
Scroll Down

Zathura

hjkl
Scroll Direction
J/K
Page Up/Down
<C-­d>
Half Page Down
<C-­u>
Half Page Up
gg
First Page
G
Last Page
#<S­-g>
Goto Page #
q
Quit