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.

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

VIM General

z{t,z,b}
Move Curson {top,m­id,bot}
<le­ade­r>x
Close Buffer
]b/[b
Next/P­revious Buffer
-
Open Oil (FS editor)
<le­ade­r>.
Open Scratch Space
<C-­w>hjkl
Move between splits
<C-­{s,­v}>
Open H,V Split
<S-­h>
Toggle hidden (oil)
]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
 

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

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
 

AeroSpace

<op­t+/>
Tile Mode
<op­t+,>
Accordion More
<op­t+{­hjk­l}>
Focus Window
<S-­opt­+{h­jkl­}>
Move window
<S-­opt­+{+­-}>
Resize active
<op­t+{­123­45}>
View Workspace N
<Op­t-T­ab>
Cycle Workspace Focus
<S-­opt­+{1­234­5}>
Move to Workspace N
<Op­t-S­hif­t-T­ab>
Move Workspace to Monitor
<S-­opt­+;>
Toggle Alt Mode
Alt: f
Toggle Window Float
Alt: <BS>
Close all but current
Alt: <S-­opt­+{h­jkl­}>
Join with
Alt: n
Next monitor

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 #
{a,s}
Fit best, width
d
Two page
D
Cycle first page
q
Quit