Show Menu
Cheatography

| AstroNvim Shortcuts Cheat Sheet (DRAFT) by

Shortcuts for AstroNvim based on: https://astronvim.github.io/Basic%20Usage/mappings

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

General Mappings

Leader key
Space
Dashboard
Space
+
d
Escape key
jj
or
jk
Comment Line/Lines
Space
+
/
Open rename prompt
Space
+
lr
Code Actions
Mod
+
Space

Session Manager

Save Session
Space
+
Ss
Last Session
Space
+
Sl
Delete Session
Space
+
Sd
Search Sessions
Space
+
Sf
Load Current Directory Session
Space
+
S.

LSP

LSP Info
Space
+
li
LSP Installer
Space
+
lI
Hover Document
Shift
+
k
Format Document
Space
+
lf
Symbols Outline
Space
+
lS
Line Diagno­stics
gl, Space
+
ld
All Diagno­stics
Space
+
lD
Code Actions
Space
+
la
Signature Help
Space
+
lh
Rename
Space
+
lr
Document Symbols
Space
+
ls
Diagnostic Next
]d
Diagno­stics Previous
[d
Declar­ation
gD
Definition
gd
Implem­ent­ation
gI
References
gr
 

Bufferline

Close buffer
Space
+
c
Navigation
Navigate to left buffer
Shift
+
h
Navigate to right buffer
Shift
+
l
Resizing Buffers
Resize buffer to the left
ctrl
+
left key
Resize buffer to the right
ctrl
+
right key
Resize buffer to the top
ctrl
+
up key
Resize buffer to the bottom
ctrl
+
down key

Packer

Compile
Space
+
pc
Install
Space
+
pi
Sync
Space
+
ps
Status
Space
+
pS
Update
Space
+
pu

Terminal

Toggle Terminal
ctrl
+
\
Floating Terminal
Space
+
tf
Horizontal Split Terminal
Space
+
th
Vertical Split Terminal
Space
+
tv
LazyGit
Space
+
tl, gg
Node
Space
+
tn
NCDU
Space
+
tu
Htop
Space
+
tt
 

Telescope actions

Telescope search
Space
+
ff
Telescope grep
Space
+
fw
Telescope git status
Space
+
gt
Telescope old files
Space
+
fo

Neo tree

Toggle
Space
+
e
Focus
Space
+
o

Git

Next Hunk
Space
+
gj
Previous Hunk
Space
+
gk
Blame Line
Space
+
gl
Preview Hunk
Space
+
gp
Reset Hunk
Space
+
gr
Stage Hunk
Space
+
gs
Unstage Hunk
Space
+
gu
Git Diff
Space
+
gd