Lazygit keyboard shortcuts

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

Top shortcuts

  • P — Push
  • P — Pull
  • M — View merge/rebase options
  • R — Refresh
  • Backslash — ``
  • Escape — Cancel
  • W — View diffing options
  • Q — Quit
  • Z — Undo
  • Z — Redo
  • Comma — Previous page
  • Period — Next page
  • V — Toggle range select
  • Slash — Search the current view by text
  • H — Scroll left
  • L — Scroll right
  • BracketRight — Next tab
  • BracketLeft — Previous tab
  • Y — Copy to clipboard
  • C — Checkout
  • D — Discard
  • O — Open file
  • E — Edit
  • Space — Toggle file included in patch
  • A — Toggle all files
  • Enter — Enter file / Toggle directory collapsed
  • Minus — Collapse all files
  • Equal — Expand all files
  • 0 — Focus main view
  • Slash — Filter the current view by text

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

  • Lazygit shortcuts
  • Lazygit cheat sheet
  • Learn Lazygit shortcuts
  • All Code & Text apps