1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-11-30 09:16:47 +02:00
lazygit/docs/Keybindings.md

55 lines
1.3 KiB
Markdown
Raw Normal View History

2018-08-06 13:32:43 +02:00
# Keybindings:
## Global:
← → ↑ ↓: navigate
PgUp/PgDn: scroll diff panel (use fn+up/down on osx)
2018-08-06 13:32:43 +02:00
q: quit
2018-08-06 17:18:03 +02:00
p: pull
2018-08-07 00:27:08 +02:00
shift+P: push
2018-08-06 13:32:43 +02:00
## Files Panel:
space: toggle staged
c: commit changes
shift+S: stash files
o: open (osx only)
2018-08-06 14:53:17 +02:00
s: open in sublime (requires 'subl' command)
v: open in vscode (requires 'code' command)
2018-08-06 13:32:43 +02:00
i: add to .gitignore
d: delete if untracked checkout if tracked (aka go away)
shift+R: refresh files
## Branches Panel:
space: checkout branch
f: force checkout branch
m: merge into currently checked out branch
c: checkout by name
n: new branch
## Commits Panel:
s: squash down (only available for topmost commit)
r: rename commit
g: reset to this commit
## Stash Panel:
space: apply
k: pop
d: drop
## Popup Panel:
esc: close/cancel
enter: confirm
## Resolving Merge Conflicts (Diff Panel):
← →: navigate conflicts
↑ ↓: select hunk
space: pick hunk
b: pick both hunks
z: undo (only available while still inside diff panel)