Lazygit Keyboard Shortcuts

Complete Lazygit keyboard shortcuts reference — 83 shortcuts across 4 categories. Quick reference cheat sheet for Windows, Mac & Linux.

Global (24)

ShortcutAction
?Keybindings Menu
qQuit
EscapeCancel
Ctrl + RRecent Repo
RRefresh
pPull
PPush
mMerge or Rebase Options
zUndo
ZRedo
:Execute Shell Command
@Command Log Options
+Next Screen Mode
_Previous Screen Mode
|Cycle Pagers
Ctrl + PCustom Patch Options
Ctrl + SFilter Options
WDiffing Options
Ctrl + WToggle Whitespace
Ctrl + ZSuspend
)Increase Rename Threshold
(Decrease Rename Threshold
}Increase Diff Context
{Decrease Diff Context

Navigation (16)

ShortcutAction
PageUpScroll Main Up
PageDownScroll Main Down
,Previous Page
.Next Page
<Scroll to Top
>Scroll to Bottom
vToggle Range Select
Shift + DownRange Select Down
Shift + UpRange Select Up
/Search or Filter View
HScroll Left
LScroll Right
]Next Tab
[Previous Tab
TabSwitch View
0Focus Main View

Files & Staging (26)

ShortcutAction
SpaceStage or Checkout
aStage All
EnterEnter Item
dDiscard or Drop
DReset Working Tree
cCommit or Checkout
wCommit without Hook
CCommit with Editor
AAmend
Ctrl + FFind Base Commit for Fixup
eEdit
oOpen File
iIgnore or Exclude
rRefresh Files
sStash
SStash Options
MMerge Conflict Options
fFetch
EEdit Hunk
`Toggle File Tree View
-Collapse All Files
=Expand All Files
Ctrl + BFilter Files by Status
Ctrl + OCopy to Clipboard
Ctrl + TOpen External Diff Tool
yCopy Attribute

Commits (17)

ShortcutAction
bBisect Options
FCreate Fixup Commit
tRevert
TTag Commit
VPaste Commits
BMark Base Commit
gReset
nNew Branch
NMove Commits to New Branch
GOpen Pull Request
Ctrl + JMove Commit Down
Ctrl + KMove Commit Up
Ctrl + LLog Options
*Select Branch Commits
uUpstream Options
OPull Request Options
Ctrl + YCopy PR URL
📄 View Printable Cheat Sheet — Download as PDF or print · 🧩 Combine with other tools

Related Shortcut Pages

Git tmux Vim Helix Editor Bash / Shell GitHub Desktop

Search 13,500+ shortcuts across 269 platforms

Explore All Platforms Practice Shortcuts
📜 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?"

ChatGPT Claude Perplexity Gemini Grok