diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-06 21:32:43 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-06 21:32:43 +1000 |
commit | afc3d4a997f07564b8e54c9cb801bd4f8841a324 (patch) | |
tree | 29795f6704309d00afcfd09f048c4d7421140a37 /docs | |
parent | caea6497335b4f8cfab06ec29dec8f2e2daa7fac (diff) |
add keybindings doc
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Keybindings.md | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/docs/Keybindings.md b/docs/Keybindings.md new file mode 100644 index 000000000..cc78499c3 --- /dev/null +++ b/docs/Keybindings.md @@ -0,0 +1,52 @@ +# Keybindings: + +## Global: + + ← → ↑ ↓: navigate + PgUp/PgDn: scroll diff panel + q: quit + +## Files Panel: + + space: toggle staged + c: commit changes + shift+S: stash files + o: open (osx only) + s: open in sublime (requires 'code' command) + v: open in vscode (requires 'subl' command) + 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) |