Skip to content

Instantly share code, notes, and snippets.

@jeromecovington
Last active October 10, 2025 20:24
Show Gist options
  • Save jeromecovington/72341a129adb3a184c5d70fbefcbafe9 to your computer and use it in GitHub Desktop.
Save jeromecovington/72341a129adb3a184c5d70fbefcbafe9 to your computer and use it in GitHub Desktop.
NvChad keymap guide

NvChad Keymap Guide

Insert Mode Shortcuts

  • Ctrl + b: Move to beginning of line
  • Ctrl + e: Move to end of line
  • Ctrl + h/j/k/l: Move left / down / up / right (respectively)

Normal Mode Window Navigation

  • Ctrl + h/j/k/l: Switch to split on left / down / up / right

General Utility

  • Esc: Clear search highlights
  • Ctrl + s: Save file
  • Ctrl + c: Copy entire file to system clipboard
  • <leader>n: Toggle line numbers
  • <leader>rn: Toggle relative line numbers
  • <leader>ch: Open NvCheatsheet
  • <leader>/: Toggle comment (normal/visual mode)

Formatting

  • <leader>fm: Format current file using LSP or fallback

LSP

  • <leader>ds: Open diagnostics in location list

Buffer Management (if tabufline enabled)

  • <tab> / Shift + <tab>: Cycle to next / previous buffer
  • <leader>b: Open new empty buffer
  • <leader>x: Close current buffer

File Explorer (NvimTree)

  • Ctrl + n: Toggle file tree
  • <leader>e: Focus file tree
  • h/j/k/l: to navigate the files
  • o: Open the file in a new buffer or open/close directory
  • t: Open the file in a new tab
  • i: Open the file in a new horizontal split
  • s: Open the file in a new vertical split
  • p: Go to parent directory
  • r: Refresh the current directory

Telescope Shortcuts

  • <leader>ff: Find files
  • <leader>fa: Find all files (including hidden and ignored)
  • <leader>fb: List open buffers
  • <leader>fw: Live grep
  • <leader>fh: Help tags
  • <leader>fo: Old files
  • <leader>fz: Fuzzy find in current buffer
  • <leader>ma: Marks
  • <leader>cm: Git commits
  • <leader>gt: Git status
  • <leader>pt: Hidden terminal sessions
  • <leader>th: NvChad themes picker

Terminal Mode

  • Ctrl + x: Exit terminal insert mode

New Terminal Instances

  • <leader>h: New horizontal terminal
  • <leader>v: New vertical terminal

Toggleable Terminals

  • Alt + i: Toggle floating terminal
  • Alt + h: Toggle horizontal terminal
  • Alt + v: Toggle vertical terminal

WhichKey

  • <leader>wK: Show all WhichKey mappings
  • <leader>wk: Query specific key prefix using prompt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment