mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-02-13 13:59:06 +02:00
exmaple keybindings for colemak users
This commit is contained in:
parent
0a26050b47
commit
a0b842204c
@ -189,94 +189,25 @@ If you have issues with a light terminal theme where you can't read / see the te
|
|||||||
|
|
||||||
![border example](/docs/resources/colored-border-example.png)
|
![border example](/docs/resources/colored-border-example.png)
|
||||||
|
|
||||||
## For Colemak Users:
|
## Example Keybindings For Colemak Users:
|
||||||
```yaml
|
```yaml
|
||||||
keybinding:
|
keybinding:
|
||||||
universal:
|
universal:
|
||||||
quit: 'q'
|
prevItem-alt: 'u' # go one line up
|
||||||
quit-alt1: '<c-c>' # alternative/alias of quit
|
nextItem-alt: 'e' # go one line down
|
||||||
return: '<esc>' # return to previous menu, will quit if there's nowhere to return
|
prevBlock-alt: 'n' # goto the previous block / panel
|
||||||
quitWithoutChangingDirectory: 'Q'
|
nextBlock-alt: 'i' # goto the next block / panel
|
||||||
togglePanel: '<tab>' # goto the next panel
|
new: 'k'
|
||||||
prevItem: '<up>' # go one line up
|
edit: 'o'
|
||||||
nextItem: '<down>' # go one line down
|
openFile: 'O'
|
||||||
prevItem-alt: 'k' # go one line up
|
scrollUpMain-alt1: 'U' # main panel scrool up
|
||||||
nextItem-alt: 'j' # go one line down
|
scrollDownMain-alt1: 'E' # main panel scrool down
|
||||||
prevBlock: '<left>' # goto the previous block / panel
|
scrollDownMain-alt2: '<c-e>' # main panel scrool down
|
||||||
nextBlock: '<right>' # goto the next block / panel
|
|
||||||
prevBlock-alt: 'h' # goto the previous block / panel
|
|
||||||
nextBlock-alt: 'l' # goto the next block / panel
|
|
||||||
optionMenu: 'x' # show help menu
|
|
||||||
optionMenu-alt1: '?' # show help menu
|
|
||||||
select: '<space>'
|
|
||||||
remove: 'd'
|
|
||||||
new: 'n'
|
|
||||||
edit: 'e'
|
|
||||||
openFile: 'o'
|
|
||||||
scrollUpMain: '<pgup>' # main panel scrool up
|
|
||||||
scrollDownMain: '<pgdown>' # main panel scrool down
|
|
||||||
scrollUpMain-alt1: 'K' # main panel scrool up
|
|
||||||
scrollDownMain-alt1: 'J' # main panel scrool down
|
|
||||||
scrollUpMain-alt2: '<c-u>' # main panel scrool up
|
|
||||||
scrollDownMain-alt2: '<c-d>' # main panel scrool down
|
|
||||||
createRebaseOptionsMenu: 'm'
|
|
||||||
pushFiles: 'P'
|
|
||||||
pullFiles: 'p'
|
|
||||||
refresh: 'R'
|
|
||||||
createPatchOptionsMenu: '<c-p>'
|
|
||||||
status:
|
status:
|
||||||
checkForUpdate: 'u'
|
checkForUpdate: '<c-u>'
|
||||||
recentRepos: 's'
|
|
||||||
files:
|
files:
|
||||||
commitChanges: 'c'
|
ignoreFile: 'I'
|
||||||
commitChangesWithoutHook: 'w' # commit changes without pre-commit hook
|
|
||||||
amendLastCommit: 'A'
|
|
||||||
commitChangesWithEditor: 'C'
|
|
||||||
ignoreFile: 'i'
|
|
||||||
refreshFiles: 'r'
|
|
||||||
stashAllChanges: 's'
|
|
||||||
viewStashOptions: 'S'
|
|
||||||
toggleStagedAll: 'a' # stage/unstage all
|
|
||||||
viewResetOptions: 'D'
|
|
||||||
fetch: 'f'
|
|
||||||
executeCustomCommand: 'X'
|
|
||||||
branches:
|
|
||||||
createPullRequest: 'o'
|
|
||||||
checkoutBranchesByName: 'c'
|
|
||||||
forceCheckoutBranch: 'F'
|
|
||||||
rebaseBranch: 'r'
|
|
||||||
mergeIntoCurrentBranch: 'M'
|
|
||||||
FastForward: 'f' # fast-forward this branch from its upstream
|
|
||||||
pushTag: 'P'
|
|
||||||
nextBranchTab: ']'
|
|
||||||
prevBranchTab: '['
|
|
||||||
setUpstream: 'u' # set as upstream of checked-out branch
|
|
||||||
commits:
|
commits:
|
||||||
squashDown: 's'
|
moveDownCommit: '<c-e>' # move commit down one
|
||||||
renameCommit: 'r'
|
moveUpCommit: '<c-u>' # move commit up one
|
||||||
renameCommitWithEditor: 'R'
|
|
||||||
resetToThisCommit: 'g'
|
|
||||||
fixupCommit: 'f'
|
|
||||||
createFixupCommit: 'F' # create fixup commit for this commit
|
|
||||||
squashAboveCommits: 'S'
|
|
||||||
moveDownCommit: '<c-j>' # move commit down one
|
|
||||||
moveUpCommit: '<c-k>' # move commit up one
|
|
||||||
amendToCommit: 'A'
|
|
||||||
pickCommit: 'p' # pick commit (when mid-rebase)
|
|
||||||
revertCommit: 't'
|
|
||||||
cherryPickCopy: 'c'
|
|
||||||
cherryPickCopyRange: 'C'
|
|
||||||
pasteCommits: 'v'
|
|
||||||
viewCommitFiles: '<enter>'
|
|
||||||
tagCommit: 'T'
|
|
||||||
stash:
|
|
||||||
popStash: 'g'
|
|
||||||
commitFiles:
|
|
||||||
checkoutCommitFile: 'c'
|
|
||||||
main:
|
|
||||||
toggleDragSelect: 'v'
|
|
||||||
toggleDragSelect-alt: 'V'
|
|
||||||
toggleSelectHunk: 'a'
|
|
||||||
PickBothHunks: 'b'
|
|
||||||
undo: 'z'
|
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user