diff options
author | David Chen <weichen2000121@gmail.com> | 2019-12-04 18:01:01 -0800 |
---|---|---|
committer | David Chen <weichen2000121@gmail.com> | 2019-12-04 18:01:06 -0800 |
commit | fa6893fda9618fe36098f717a0a325e275c2fc74 (patch) | |
tree | bc0065b03f4d06a8b62848a2ffb26ca17bad0a27 /pkg/config | |
parent | 710abded6416c51f72285854c332881efab3e810 (diff) |
feature: custom keybindings
Diffstat (limited to 'pkg/config')
-rw-r--r-- | pkg/config/app_config.go | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/pkg/config/app_config.go b/pkg/config/app_config.go index d0294de01..1ff49da51 100644 --- a/pkg/config/app_config.go +++ b/pkg/config/app_config.go @@ -265,6 +265,94 @@ update: reporting: 'undetermined' # one of: 'on' | 'off' | 'undetermined' splashUpdatesIndex: 0 confirmOnQuit: false +keybinding: + universal: + quit: 'q' + quit-alt1: '<c-c>' + return: '<esc>' + quitWithoutChangingDirectory: 'Q' + togglePanel: '<tab>' + prevItem: '<up>' + nextItem: '<down>' + prevItem-alt: 'k' + nextItem-alt: 'j' + prevBlock: '<left>' + nextBlock: '<right>' + prevBlock-alt: 'h' + nextBlock-alt: 'l' + optionMenu: 'x' + optionMenu-alt1: '?' + select: '<space>' + remove: 'd' + new: 'n' + edit: 'e' + openFile: 'o' + scrollUpMain: '<pgup>' + scrollDownMain: '<pgdown>' + scrollUpMain-alt1: 'K' + scrollDownMain-alt1: 'J' + scrollUpMain-alt2: '<c-u>' + scrollDownMain-alt2: '<c-d>' + createRebaseOptionsMenu: 'm' + pushFiles: 'P' + pullFiles: 'p' + refresh: 'R' + createPatchOptionsMenu: '<c-p>' + status: + checkForUpdate: 'u' + recentRepos: 's' + files: + commitChanges: 'c' + commitChangesWithoutHook: 'w' + amendLastCommit: 'A' + commitChangesWithEditor: 'C' + ignoreFile: 'i' + refreshFiles: 'r' + stashAllChanges: 's' + viewStashOptions: 'S' + toggleStagedAll: 'a' + viewResetOptions: 'D' + fetch: 'f' + executeCustomCommand: 'X' + branches: + createPullRequest: 'o' + checkoutBranchesByName: 'c' + forceCheckoutBranch: 'F' + rebaseBranch: 'r' + mergeIntoCurrentBranch: 'M' + FastForward: 'f' + pushTag: 'P' + nextBranchTab: ']' + prevBranchTab: '[' + setUpstream: 'u' + commits: + squashDown: 's' + renameCommit: 'r' + renameCommitWithEditor: 'R' + resetToThisCommit: 'g' + fixupCommit: 'f' + createFixupCommit: 'F' + squashAboveCommits: 'S' + moveDownCommit: '<c-j>' + moveUpCommit: '<c-k>' + amendToCommit: 'A' + pickCommit: 'p' + 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' `) } |