GNU nano keyboard shortcuts

Explore all 57 keyboard shortcuts and hotkeys for GNU nano 2025 on an interactive visual keyboard. Toggle modifiers (Ctrl, Shift, Alt, Meta), filter by category, and search any command or key combination.

Top shortcuts

  • Ctrl+S — Save current file
  • Ctrl+O — Offer to write file ("Save as")
  • Ctrl+R — Insert a file into current one
  • Ctrl+X — Close buffer, exit from nano
  • Ctrl+K — Cut current line into cutbuffer
  • Alt+6 — Copy current line into cutbuffer
  • Ctrl+U — Paste contents of cutbuffer
  • Alt+T — Cut until end of buffer
  • Ctrl+BracketRight — Complete current word
  • Alt+3 — Comment/uncomment line/region
  • Alt+U — Undo last action
  • Alt+E — Redo last undone action
  • Ctrl+Q — Start backward search
  • Ctrl+W — Start forward search
  • Alt+Q — Find next occurrence backward
  • Alt+W — Find next occurrence forward
  • Alt+R — Start a replacing session
  • Ctrl+H — Delete character before cursor
  • Ctrl+D — Delete character under cursor
  • Alt+Backspace — Delete word to the left
  • Ctrl+Delete — Delete word to the right
  • Alt+Delete — Delete current line
  • Ctrl+T — Execute some command
  • Ctrl+J — Justify paragraph or region
  • Alt+J — Justify entire buffer
  • Alt+B — Run a syntax check
  • Alt+F — Run a formatter/fixer/arranger
  • Alt+Semicolon — Replay macro
  • Ctrl+B — One character backward
  • Ctrl+F — One character forward

Other Code & Text apps

  • Alacritty shortcuts
  • Android Studio shortcuts
  • Arduino IDE shortcuts
  • Bitbucket shortcuts
  • Chrome Developer Tools shortcuts
  • CLion shortcuts
  • Code Editor for iOS shortcuts
  • Cursor shortcuts
  • DataGrip shortcuts
  • Docker Desktop shortcuts

Related pages

  • GNU nano shortcuts
  • GNU nano cheat sheet
  • Learn GNU nano shortcuts
  • All Code & Text apps