Ctrl + B: Move to beginning of lineCtrl + E: Move to end of lineCtrl + H: Move leftCtrl + L: Move rightCtrl + J: Move downCtrl + K: Move up
<leader>bn: Next buffer<leader>bp: Previous buffer<leader>bb: Switch to other buffer`(backtick): Switch to other bufferTab: Go to next bufferShift + Tab: Go to previous buffer<leader>x: Close current buffer
Ctrl + N: Toggle NvimTree<leader>m: Focus NvimTree<leader>e: Toggle NvimTree
Ctrl + H: Switch window leftCtrl + J: Switch window downCtrl + K: Switch window upCtrl + L: Switch window right
Ctrl + H: Switch window leftCtrl + J: Switch window downCtrl + K: Switch window upCtrl + L: Switch window rightCtrl + X: Escape terminal mode
Ctrl + H: Navigate left (Tmux-aware)Ctrl + J: Navigate down (Tmux-aware)Ctrl + K: Navigate up (Tmux-aware)Ctrl + L: Navigate right (Tmux-aware)
<leader>sv: Split window vertically<leader>sh: Split window horizontally
<leader>b: Create new buffer<leader>pa: Show full file path
<leader>n: Toggle line numbers<leader>rn: Toggle relative line numbers
<: Shift selected text left in visual mode>: Shift selected text right in visual mode
Ctrl + S: Save fileCtrl + C: Copy entire fileEsc: Clear highlights
<leader>zn: Narrow mode (normal and visual)<leader>sm: Focus mode<leader>zm: Minimalist mode<leader>za: Ataraxis mode
Ctrl + /: Toggle comment (normal mode)Ctrl + /: Toggle comment (visual mode)
<leader>h: New horizontal terminal<leader>v: New vertical terminalAlt + V: Toggle vertical terminalAlt + H: Toggle horizontal terminalAlt + I: Toggle floating terminal
<leader>fw: Live grep<leader>ff: Find files<leader>fb: Find buffers
<leader>fm: Format file
<leader>wK: Show all keymaps<leader>wk: Lookup specific keymap
- fd: Go to definition (Lspsaga finder)
- gd: Peak definition
- gD: Go to definition
- ca: See available code actions
- rn: Smart rename
- D: Show diagnostics for line
- d: Show diagnostics for cursor
- pd: Jump to previous diagnostic in buffer
- nd: Jump to next diagnostic in buffer
- K: Show documentation for what is under cursor
w: Move forward by wordb: Move backward by word0: Move to start of line$: Move to end of linegg: Go to first lineG: Go to last line
ctrl + bto move a page screen back or “up”ctrl + fto move a page screen front or “down”ctrl + uto move a ½ page screen upctrl + dto move a ½ page screen downctrl + yto move the screen up one linectrl + eto move the screen down one linez + zto move the current line to the center of the screenz + tto move the current line to the top of the screenz + bto move the current line to the bottom of the screen
v: Enter visual modeV: Enter visual line modeCtrl + v: Enter visual block mode
dd: Delete current lineyy: Yank (copy) current linep: Paste after cursorP: Paste before cursoru: UndoCtrl + r: Redo
/: Search forward?: Search backwardn: Next search resultN: Previous search result:%s/old/new/g: Replace all occurrences in file
ma: Set mark 'a'`a: Jump to mark 'a''': Jump to last edit position
Note: Many of these shortcuts can be customized in your NeoVim configuration. Always refer to your specific setup.