Show Menu
Cheatography

Neovim Commands + Keybinds Cheat Sheet (DRAFT) by

Neovim (specifically using Nvchad) keybinds and commands

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

Misc Commands

Access inbuilt cheatsheet
Space + c + h
Change theme
Space + t + h
Install language highli­ghting
:TSInstall <la­ngu­age>
Check installed language highli­ghting
:TSIns­tal­lInfo

Files/­Buffer

Space + f + f
Search files in current dir
Space + f + b
Show open files in buffer
Tab
Go forward in buffer
Shift + Tab
Go backward in buffer
Space + x
Close buffer
:b <fi­len­ame>
Go to specific buffer containing <fi­len­ame>
:b#
Return to previously visited buffer
 

Vim keywords

<le­ade­r>
Space key

Filetree (nvim-­tree)

Ctrl + n
Open the file tree
a
Create a file
r
Rename file
c
Copy a file
p
Paste a file
d
Delete a file
- (hyphen)
Go up in directory tree
(go to parent dir)
m
Mark file/dir
Ctrl + l
Move from file tree to editor
Ctrl + h
Move from editor to file tree
:cd <pa­th>
Change file tree to <pa­th>
 

Window Managment

:vsp
Split into vertical window
:sp
Split into horizontal window
Ctrl + h/j/k/l
Navigate through windows
Ctrl + w + q
Close window

Shell (terminal)

:!<­com­man­d>
Run terminal commands in the Neovim command line
Space + h
Horizontal terminal window
Space + v
Vertical terminal window
:ter(m­inal)
Open terminal in a buffer
Ctrl + \, (still holding Ctrl), Ctrl + n
Enter normal mode in terminal to write vim commands
a
Enter insert mode in terminal