Lazygit Keyboard Shortcuts
Complete Lazygit keyboard shortcuts reference — 83 shortcuts across 4 categories. Quick reference cheat sheet for Windows, Mac & Linux.
Global (24)
| Shortcut | Action |
| ? | Keybindings Menu |
| q | Quit |
| Escape | Cancel |
| Ctrl + R | Recent Repo |
| R | Refresh |
| p | Pull |
| P | Push |
| m | Merge or Rebase Options |
| z | Undo |
| Z | Redo |
| : | Execute Shell Command |
| @ | Command Log Options |
| + | Next Screen Mode |
| _ | Previous Screen Mode |
| | | Cycle Pagers |
| Ctrl + P | Custom Patch Options |
| Ctrl + S | Filter Options |
| W | Diffing Options |
| Ctrl + W | Toggle Whitespace |
| Ctrl + Z | Suspend |
| ) | Increase Rename Threshold |
| ( | Decrease Rename Threshold |
| } | Increase Diff Context |
| { | Decrease Diff Context |
Navigation (16)
| Shortcut | Action |
| PageUp | Scroll Main Up |
| PageDown | Scroll Main Down |
| , | Previous Page |
| . | Next Page |
| < | Scroll to Top |
| > | Scroll to Bottom |
| v | Toggle Range Select |
| Shift + Down | Range Select Down |
| Shift + Up | Range Select Up |
| / | Search or Filter View |
| H | Scroll Left |
| L | Scroll Right |
| ] | Next Tab |
| [ | Previous Tab |
| Tab | Switch View |
| 0 | Focus Main View |
Files & Staging (26)
| Shortcut | Action |
| Space | Stage or Checkout |
| a | Stage All |
| Enter | Enter Item |
| d | Discard or Drop |
| D | Reset Working Tree |
| c | Commit or Checkout |
| w | Commit without Hook |
| C | Commit with Editor |
| A | Amend |
| Ctrl + F | Find Base Commit for Fixup |
| e | Edit |
| o | Open File |
| i | Ignore or Exclude |
| r | Refresh Files |
| s | Stash |
| S | Stash Options |
| M | Merge Conflict Options |
| f | Fetch |
| E | Edit Hunk |
| ` | Toggle File Tree View |
| - | Collapse All Files |
| = | Expand All Files |
| Ctrl + B | Filter Files by Status |
| Ctrl + O | Copy to Clipboard |
| Ctrl + T | Open External Diff Tool |
| y | Copy Attribute |
Commits (17)
| Shortcut | Action |
| b | Bisect Options |
| F | Create Fixup Commit |
| t | Revert |
| T | Tag Commit |
| V | Paste Commits |
| B | Mark Base Commit |
| g | Reset |
| n | New Branch |
| N | Move Commits to New Branch |
| G | Open Pull Request |
| Ctrl + J | Move Commit Down |
| Ctrl + K | Move Commit Up |
| Ctrl + L | Log Options |
| * | Select Branch Commits |
| u | Upstream Options |
| O | Pull Request Options |
| Ctrl + Y | Copy PR URL |
📜 Every shortcut on this page is taken from the official Lazygit documentation —
github.com
🔧 Spotted an error or a missing shortcut?
Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.
🤖 Ask AI about Lazygit shortcuts
Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"