Skip to content

Neovim Shortcuts

NameShortcuts
Treesitter, inspect tree:InspectTree
NameShortcuts
Search files with telescope<SPC> s f
Search git files with telescope<SPC> g f
Leader key and commands<SPC> <keys…>
See telescope keymaps:Telescope keymaps
Lazy package manager:Lazy
Lazy, sync (update clean plugins):Lazy sync

<l> = leader key, default mapped to Spacebar

DescriptionShortcut
Buffer, Find<l> f b
Buffer, Switch<l> ,
Code, Diagnostic error next and previous[ d and ] d
Code, LSP Information<l> c l or :LspInfo
Code, Markdown preview<l> c p
Code, Problems Diagnostics list with Trouble<l> x x
Code, actions<l> c a
Code, actions, check LSP, Linter with Mason<l> c m
Code, actions, fix all<l> c A
Debug, actions<l> d
Debug, toggle breakpoint<l> db
Debug, toggle user interface<l> du
Debug, run/continue<l> dc
Debug, step into<l> di
Debug, toggle breakpoint condition<l> dB
Command history, to execute in command mode<l> :
Dashboard open:lua Snacks.dashboard.open()
Find files, telescope mode, fuzzy find<l> f f or SPC SPC
Find files, telescope mode, fuzzy find cwd<l> f F
Find files, telescope mode, insert modei
Find files, telescope mode, seek modes
Find files, telescope mode, exit modeESC ESC
Find files, telescope mode, insert modei
Find files, telescope mode, insert modei
Find files, telescope mode, insert modei
Find files, telescope mode, insert modei
Find: enter terminal<l> f t
Terminal Toggle, on and offCtrl + /
Flash: go to characters(s), Like Emacs Avys <characters>
Flash: go to for tree-sitterS
Go to element Declarationg D
Go to element Implementationg I
Go to element definitiong d
Go to, Toggle comment on selectiong c
Navigation Next, buffer]b
Navigation Previous, buffer[b
Navigation, buffer to left, right of currentH, L
Neo tree, File explorer<l> e
Neo tree, File explorer open in cwd<l> E
Neo tree, Toggle hidden filesH
Neo tree, File, Open file/folderEnter
Neo tree, File, Up one directoryBackspace (BS)
Neo tree, File, Deleted
Neo tree, File, Add file, add foldera, A
Neo tree, File, Open file/folder
Neo tree, File, Renamer
Neo tree, File, Cutx
Neo tree, File, Copyy
Neo tree, File, Pastep
Neo tree, Seek / searchs or /
Neo tree, Move up, down, scroll up, downj, k, C-u, C-d
Neo tree, Quitq
Neo tree, Help:help neo-tree
Notifications:noice
Screen: Adjust height and widthC-arrow keys
Screen: Navigate to screen in directionC-h,j,k,l
Search: Command history<l> s c
Search: Commands, Auto Commands, Key maps<l> s C, a, k
Search: Current buffer<l> s b
Search: Diagnostic messages<l> s d
Search: Diagnostic messages, root directory<l> s D
Search: Help<l> s h
Search: Replace, Do Replace<l> s r, <l> R
Search: Todos<l> s t
UI, Split screen vertical, horizontal<l> \ , <l> -
UI, Toggle (LSP) Diagnostics, like inline msgs<l> u d
User Interface (UI) Settings<l> u
Which-key<l> k s
Window, increase width left, rightC-left arrow, C-right arrow
Window, move in direction<l> w <j, k, h l>
Window, move to split left, right, down upC-h, C-l, C-j, C-k
Window, next, previous window<l> w w or W
git: Lazygit<l> g g
DescriptionShortcut
Plugin: Get Help when in a specific plugin like Neo tree?
LazyVim Extras, View:LazyExtras
LazyVim Extras, Activate pluginx
  • Use LSP to see symbols, documents, rename, etc

Resources: