2020-02-29 00:17:19 +02:00
|
|
|
# Lazygit Keybindings
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
## Global
|
|
|
|
|
|
|
|
<pre>
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>pgup</kbd>: scroll up main panel (fn+up)
|
|
|
|
<kbd>pgdown</kbd>: scroll down main panel (fn+down)
|
2019-05-03 07:03:25 +02:00
|
|
|
<kbd>m</kbd>: bekijk merge/rebase opties
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>ctrl+p</kbd>: view custom patch options
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>P</kbd>: push
|
|
|
|
<kbd>p</kbd>: pull
|
|
|
|
<kbd>R</kbd>: verversen
|
2020-03-12 07:29:15 +02:00
|
|
|
<kbd>x</kbd>: open menu
|
2020-03-25 11:24:03 +02:00
|
|
|
<kbd>z</kbd>: undo (via reflog) (experimental)
|
|
|
|
<kbd>ctrl+z</kbd>: redo (via reflog) (experimental)
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>+</kbd>: next screen mode (normal/half/fullscreen)
|
|
|
|
<kbd>_</kbd>: prev screen mode
|
|
|
|
<kbd>:</kbd>: voor aangepast commando uit
|
2020-07-18 11:41:13 +02:00
|
|
|
<kbd>|</kbd>: view scoping options
|
|
|
|
<kbd>ctrl+e</kbd>: open diff menu
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2020-03-23 14:22:10 +02:00
|
|
|
## Branches Panel
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>]</kbd>: next tab
|
|
|
|
<kbd>[</kbd>: previous tab
|
|
|
|
</pre>
|
|
|
|
|
2020-02-29 00:17:19 +02:00
|
|
|
## Branches Panel (Branches Tab)
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>space</kbd>: uitchecken
|
|
|
|
<kbd>o</kbd>: maak een pull-aanvraag
|
|
|
|
<kbd>c</kbd>: uitchecken bij naam
|
|
|
|
<kbd>F</kbd>: forceer checkout
|
|
|
|
<kbd>n</kbd>: nieuwe branch
|
|
|
|
<kbd>d</kbd>: verwijder branch
|
|
|
|
<kbd>r</kbd>: rebase branch
|
|
|
|
<kbd>M</kbd>: merge in met huidige checked out branch
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>i</kbd>: show git-flow options
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>f</kbd>: fast-forward this branch from its upstream
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>g</kbd>: bekijk reset opties
|
2020-03-18 13:08:50 +02:00
|
|
|
<kbd>R</kbd>: rename branch
|
2020-07-18 11:41:13 +02:00
|
|
|
<kbd>ctrl+o</kbd>: copy branch name to clipboard
|
2020-03-28 05:08:54 +02:00
|
|
|
<kbd>,</kbd>: previous page
|
|
|
|
<kbd>.</kbd>: next page
|
|
|
|
<kbd><</kbd>: scroll to top
|
2020-03-10 04:54:55 +02:00
|
|
|
<kbd>/</kbd>: start search
|
2020-03-28 05:08:54 +02:00
|
|
|
<kbd>></kbd>: scroll to bottom
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2020-02-29 00:17:19 +02:00
|
|
|
## Branches Panel (Remote Branches (in Remotes tab))
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>esc</kbd>: return to remotes list
|
|
|
|
<kbd>g</kbd>: bekijk reset opties
|
|
|
|
<kbd>space</kbd>: uitchecken
|
2020-07-18 11:41:13 +02:00
|
|
|
<kbd>n</kbd>: nieuwe branch
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>M</kbd>: merge in met huidige checked out branch
|
|
|
|
<kbd>d</kbd>: verwijder branch
|
|
|
|
<kbd>r</kbd>: rebase branch
|
|
|
|
<kbd>u</kbd>: set as upstream of checked-out branch
|
2020-03-28 05:08:54 +02:00
|
|
|
<kbd>,</kbd>: previous page
|
|
|
|
<kbd>.</kbd>: next page
|
|
|
|
<kbd><</kbd>: scroll to top
|
2020-03-10 04:54:55 +02:00
|
|
|
<kbd>/</kbd>: start search
|
2020-03-28 05:08:54 +02:00
|
|
|
<kbd>></kbd>: scroll to bottom
|
2020-02-29 00:17:19 +02:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Branches Panel (Remotes Tab)
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>f</kbd>: fetch remote
|
|
|
|
<kbd>n</kbd>: add new remote
|
|
|
|
<kbd>d</kbd>: remove remote
|
|
|
|
<kbd>e</kbd>: edit remote
|
2020-03-28 05:08:54 +02:00
|
|
|
<kbd>,</kbd>: previous page
|
|
|
|
<kbd>.</kbd>: next page
|
|
|
|
<kbd><</kbd>: scroll to top
|
2020-03-10 04:54:55 +02:00
|
|
|
<kbd>/</kbd>: start search
|
2020-03-28 05:08:54 +02:00
|
|
|
<kbd>></kbd>: scroll to bottom
|
2020-02-29 00:17:19 +02:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Branches Panel (Tags Tab)
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>space</kbd>: uitchecken
|
|
|
|
<kbd>d</kbd>: delete tag
|
|
|
|
<kbd>P</kbd>: push tag
|
|
|
|
<kbd>n</kbd>: create tag
|
|
|
|
<kbd>g</kbd>: bekijk reset opties
|
2020-03-28 05:08:54 +02:00
|
|
|
<kbd>,</kbd>: previous page
|
|
|
|
<kbd>.</kbd>: next page
|
|
|
|
<kbd><</kbd>: scroll to top
|
2020-03-10 04:54:55 +02:00
|
|
|
<kbd>/</kbd>: start search
|
2020-03-28 05:08:54 +02:00
|
|
|
<kbd>></kbd>: scroll to bottom
|
2020-02-29 00:17:19 +02:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Commit bestanden Panel
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>esc</kbd>: ga terug
|
|
|
|
<kbd>c</kbd>: bestand uitchecken
|
|
|
|
<kbd>d</kbd>: uitsluit deze commit zijn veranderingen aan dit bestand
|
|
|
|
<kbd>o</kbd>: open bestand
|
|
|
|
<kbd>space</kbd>: toggle file included in patch
|
|
|
|
<kbd>enter</kbd>: enter file to add selected lines to the patch
|
2020-03-28 05:08:54 +02:00
|
|
|
<kbd>,</kbd>: previous page
|
|
|
|
<kbd>.</kbd>: next page
|
|
|
|
<kbd><</kbd>: scroll to top
|
2020-03-10 04:54:55 +02:00
|
|
|
<kbd>/</kbd>: start search
|
2020-03-28 05:08:54 +02:00
|
|
|
<kbd>></kbd>: scroll to bottom
|
2020-03-10 04:54:55 +02:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Commits Panel
|
|
|
|
|
|
|
|
<pre>
|
2020-03-23 14:22:10 +02:00
|
|
|
<kbd>]</kbd>: next tab
|
|
|
|
<kbd>[</kbd>: previous tab
|
2020-02-29 00:17:19 +02:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Commits Panel (Commits Tab)
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>s</kbd>: squash beneden
|
|
|
|
<kbd>r</kbd>: hernoem commit
|
2019-05-03 07:03:25 +02:00
|
|
|
<kbd>R</kbd>: rename commit with editor
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>g</kbd>: reset naar deze commit
|
|
|
|
<kbd>f</kbd>: Fixup commit
|
2019-05-03 07:03:25 +02:00
|
|
|
<kbd>F</kbd>: creëer fixup commit voor deze commit
|
|
|
|
<kbd>S</kbd>: squash bovenstaande commits
|
2019-04-14 17:21:21 +02:00
|
|
|
<kbd>d</kbd>: verwijder commit
|
2019-05-25 08:37:47 +02:00
|
|
|
<kbd>ctrl+j</kbd>: verplaats commit 1 omlaag
|
|
|
|
<kbd>ctrl+k</kbd>: verplaats commit 1 omhoog
|
2019-05-03 07:03:25 +02:00
|
|
|
<kbd>e</kbd>: verander commit
|
|
|
|
<kbd>A</kbd>: wijzig commit met staged veranderingen
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>p</kbd>: pick commit (when mid-rebase)
|
2019-05-03 07:03:25 +02:00
|
|
|
<kbd>t</kbd>: commit omgedaan maken
|
2019-04-14 17:21:21 +02:00
|
|
|
<kbd>c</kbd>: kopiëer commit (cherry-pick)
|
2020-07-18 11:41:13 +02:00
|
|
|
<kbd>ctrl+o</kbd>: copy commit SHA to clipboard
|
2019-05-03 07:03:25 +02:00
|
|
|
<kbd>C</kbd>: kopiëer commit reeks (cherry-pick)
|
2019-04-14 17:21:21 +02:00
|
|
|
<kbd>v</kbd>: plak commits (cherry-pick)
|
2019-04-14 18:05:56 +02:00
|
|
|
<kbd>enter</kbd>: bekijk gecommite bestanden
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>space</kbd>: checkout commit
|
|
|
|
<kbd>T</kbd>: tag commit
|
2020-03-23 14:22:10 +02:00
|
|
|
<kbd>ctrl+r</kbd>: reset cherry-picked (copied) commits selection
|
2020-03-28 05:08:54 +02:00
|
|
|
<kbd>,</kbd>: previous page
|
|
|
|
<kbd>.</kbd>: next page
|
|
|
|
<kbd><</kbd>: scroll to top
|
|
|
|
<kbd>/</kbd>: start search
|
|
|
|
<kbd>></kbd>: scroll to bottom
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2020-02-29 00:17:19 +02:00
|
|
|
## Commits Panel (Reflog Tab)
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>space</kbd>: checkout commit
|
|
|
|
<kbd>g</kbd>: bekijk reset opties
|
2020-03-28 05:08:54 +02:00
|
|
|
<kbd>,</kbd>: previous page
|
|
|
|
<kbd>.</kbd>: next page
|
|
|
|
<kbd><</kbd>: scroll to top
|
|
|
|
<kbd>/</kbd>: start search
|
|
|
|
<kbd>></kbd>: scroll to bottom
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2020-02-29 00:17:19 +02:00
|
|
|
## Bestanden Panel
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>c</kbd>: Commit veranderingen
|
|
|
|
<kbd>w</kbd>: commit veranderingen zonder pre-commit hook
|
|
|
|
<kbd>A</kbd>: wijzig laatste commit
|
|
|
|
<kbd>C</kbd>: commit veranderingen met de git editor
|
|
|
|
<kbd>space</kbd>: toggle staged
|
|
|
|
<kbd>d</kbd>: bekijk 'veranderingen ongedaan maken' opties
|
|
|
|
<kbd>e</kbd>: verander bestand
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>o</kbd>: open bestand
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>i</kbd>: voeg toe aan .gitignore
|
|
|
|
<kbd>r</kbd>: refresh bestanden
|
|
|
|
<kbd>s</kbd>: stash-bestanden
|
|
|
|
<kbd>S</kbd>: view stash options
|
|
|
|
<kbd>a</kbd>: toggle staged alle
|
|
|
|
<kbd>D</kbd>: bekijk reset opties
|
|
|
|
<kbd>enter</kbd>: stage individuele hunks/lijnen
|
|
|
|
<kbd>f</kbd>: fetch
|
|
|
|
<kbd>g</kbd>: view upstream reset options
|
2020-03-28 05:08:54 +02:00
|
|
|
<kbd>,</kbd>: previous page
|
|
|
|
<kbd>.</kbd>: next page
|
|
|
|
<kbd><</kbd>: scroll to top
|
2020-03-10 04:54:55 +02:00
|
|
|
<kbd>/</kbd>: start search
|
2020-03-28 05:08:54 +02:00
|
|
|
<kbd>></kbd>: scroll to bottom
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2020-02-29 00:17:19 +02:00
|
|
|
## Hoofd Panel (Merging)
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>esc</kbd>: ga terug naar het bestanden paneel
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>space</kbd>: pick hunk
|
|
|
|
<kbd>b</kbd>: pick beide hunks
|
|
|
|
<kbd>◄</kbd>: selecteer voorgaand conflict
|
|
|
|
<kbd>►</kbd>: selecteer volgende conflict
|
|
|
|
<kbd>▲</kbd>: selecteer bovenste hunk
|
|
|
|
<kbd>▼</kbd>: selecteer onderste hunk
|
|
|
|
<kbd>z</kbd>: ongedaan maken
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Hoofd Panel (Normaal)
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd> ̄</kbd>: scroll omlaag (fn+up)
|
|
|
|
<kbd>¦</kbd>: scroll omhoog (fn+down)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Hoofd Panel (Patch Building)
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>esc</kbd>: exit line-by-line mode
|
2019-05-03 07:03:25 +02:00
|
|
|
<kbd>▲</kbd>: selecteer de vorige lijn
|
|
|
|
<kbd>▼</kbd>: selecteer de volgende lijn
|
|
|
|
<kbd>◄</kbd>: selecteer de vorige hunk
|
|
|
|
<kbd>►</kbd>: selecteer de volgende hunk
|
2020-03-05 02:36:35 +02:00
|
|
|
<kbd>space</kbd>: add/remove line(s) to patch
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>v</kbd>: toggle drag select
|
|
|
|
<kbd>V</kbd>: toggle drag select
|
|
|
|
<kbd>a</kbd>: toggle select hunk
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2020-02-29 00:17:19 +02:00
|
|
|
## Hoofd Panel (Stage Lines/Hunks)
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>esc</kbd>: ga terug naar het bestanden paneel
|
2020-03-05 02:36:35 +02:00
|
|
|
<kbd>space</kbd>: toggle line staged / unstaged
|
|
|
|
<kbd>d</kbd>: delete change (git reset)
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>tab</kbd>: switch to other panel
|
|
|
|
<kbd>▲</kbd>: selecteer de vorige lijn
|
|
|
|
<kbd>▼</kbd>: selecteer de volgende lijn
|
|
|
|
<kbd>◄</kbd>: selecteer de vorige hunk
|
|
|
|
<kbd>►</kbd>: selecteer de volgende hunk
|
|
|
|
<kbd>e</kbd>: verander bestand
|
|
|
|
<kbd>o</kbd>: open bestand
|
|
|
|
<kbd>v</kbd>: toggle drag select
|
|
|
|
<kbd>V</kbd>: toggle drag select
|
|
|
|
<kbd>a</kbd>: toggle select hunk
|
|
|
|
<kbd>c</kbd>: Commit veranderingen
|
|
|
|
<kbd>w</kbd>: commit veranderingen zonder pre-commit hook
|
|
|
|
<kbd>C</kbd>: commit veranderingen met de git editor
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
2019-05-25 08:37:47 +02:00
|
|
|
|
2020-03-10 04:54:55 +02:00
|
|
|
## Menu Panel
|
|
|
|
|
|
|
|
<pre>
|
2020-03-12 07:26:11 +02:00
|
|
|
<kbd>esc</kbd>: close menu
|
2020-03-28 05:08:54 +02:00
|
|
|
<kbd>,</kbd>: previous page
|
|
|
|
<kbd>.</kbd>: next page
|
|
|
|
<kbd><</kbd>: scroll to top
|
2020-03-10 04:54:55 +02:00
|
|
|
<kbd>/</kbd>: start search
|
2020-03-28 05:08:54 +02:00
|
|
|
<kbd>></kbd>: scroll to bottom
|
2020-03-10 04:54:55 +02:00
|
|
|
</pre>
|
|
|
|
|
2020-02-29 00:17:19 +02:00
|
|
|
## Stash Panel
|
2019-05-25 08:37:47 +02:00
|
|
|
|
|
|
|
<pre>
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>space</kbd>: toepassen
|
|
|
|
<kbd>g</kbd>: pop
|
|
|
|
<kbd>d</kbd>: drop
|
2020-03-28 05:08:54 +02:00
|
|
|
<kbd>,</kbd>: previous page
|
|
|
|
<kbd>.</kbd>: next page
|
|
|
|
<kbd><</kbd>: scroll to top
|
2020-03-10 04:54:55 +02:00
|
|
|
<kbd>/</kbd>: start search
|
2020-03-28 05:08:54 +02:00
|
|
|
<kbd>></kbd>: scroll to bottom
|
2020-02-29 00:17:19 +02:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Status Panel
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>e</kbd>: verander config file
|
|
|
|
<kbd>o</kbd>: open config file
|
|
|
|
<kbd>u</kbd>: check voor updates
|
|
|
|
<kbd>enter</kbd>: wissel naar een recente repo
|
2019-05-25 08:37:47 +02:00
|
|
|
</pre>
|