A community-written cheat sheet for lazygit, which has no macOS menu bar for Keysi to read. Once imported, hold ⌘ while it is in the foreground and these shortcuts appear.
53 shortcuts · free, and not part of Keysi Pro · public domain (CC0).
| Action | Keys |
|---|---|
| Show every keybinding for this panel | ? |
| Push | P |
| Pull | p |
| Refresh | R |
| Undo (via the reflog) | z |
| Redo | Z |
| Cycle the screen mode (normal, half, full) | + |
| Execute a shell command | : |
| View merge/rebase options | m |
| Switch to a recent repo | Ctrl-r |
| Scroll the main window up | K |
| Scroll the main window down | J |
| Toggle whitespace in the diff | Ctrl-w |
| Quit | q |
| Action | Keys |
|---|---|
| Stage or unstage the file | Space |
| Stage all files | a |
| Stage individual lines or hunks | Enter |
| Commit | c |
| Commit without the pre-commit hook | w |
| Commit using your git editor | C |
| Amend the last commit | A |
| Discard changes | d |
| Edit the file | e |
| Ignore or exclude the file | i |
| Stash changes | s |
| Fetch | f |
| Toggle the file tree view | ` |
| Action | Keys |
|---|---|
| Check out the branch | Space |
| Check out by name | c |
| Check out the previous branch | - |
| New branch | n |
| Delete the branch | d |
| Rebase the checked-out branch onto this one | r |
| Merge into the checked-out branch | M |
| Fast-forward the branch | f |
| Rename the branch | R |
| Create a pull request | o |
| Action | Keys |
|---|---|
| View the commit's files | Enter |
| Squash into the commit below | s |
| Fixup into the commit below | f |
| Reword | r |
| Drop | d |
| Edit (start an interactive rebase) | e |
| Pick | p |
| Move the commit down | Ctrl-j |
| Move the commit up | Ctrl-k |
| Amend the commit with staged changes | A |
| Revert | t |
| Tag the commit | T |
| Copy (cherry-pick) | C |
| Paste (cherry-pick) | V |
| Create a new branch from the commit | n |
| Check out the commit | Space |
Nothing is installed from this page: it only gives you a file, and Keysi asks before it saves it. If you already have a sheet with the same identifier, Keysi offers to replace it or keep both.
Matches the program in a terminal's foreground: lazygit. Keysi checks the terminal's foreground job, so the sheet appears while you're actually in it.
Shortcuts taken from the tool's documentation: github.com. Check them against your own configuration, since a tool you have remapped is no longer on its defaults.