1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

organise keybindings better

This commit is contained in:
Jesse Duffield
2019-03-22 20:13:48 +11:00
parent 32ddf0c296
commit e68dbeb7eb
6 changed files with 28 additions and 17 deletions

View File

@ -91,6 +91,19 @@
<kbd>o</kbd>: open file
</pre>
## Main (Merging)
<pre>
<kbd>esc</kbd>: return to files panel
<kbd>space</kbd>: pick hunk
<kbd>b</kbd>: pick both hunks
<kbd></kbd>: select previous conflict
<kbd></kbd>: select next conflict
<kbd></kbd>: select top hunk
<kbd></kbd>: select bottom hunk
<kbd>z</kbd>: undo
</pre>
## Main (Normal)
<pre>
@ -109,16 +122,3 @@
<kbd>space</kbd>: stage line
<kbd>a</kbd>: stage hunk
</pre>
## Main (Merging)
<pre>
<kbd>esc</kbd>: return to files panel
<kbd>space</kbd>: pick hunk
<kbd>b</kbd>: pick both hunks
<kbd></kbd>: select previous conflict
<kbd></kbd>: select next conflict
<kbd></kbd>: select top hunk
<kbd></kbd>: select bottom hunk
<kbd>z</kbd>: undo
</pre>