summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDavid Chen <weichen2000121@gmail.com>2019-12-04 18:34:59 -0800
committerDavid Chen <weichen2000121@gmail.com>2019-12-04 18:35:07 -0800
commita0b842204ce8d543e4e0072b4e0e30d932f52742 (patch)
treec12dc06f886de4b1418ddae1e4f11d34faf83b04 /docs
parent0a26050b47a4f4af66753884eb891428032adb67 (diff)
exmaple keybindings for colemak users
Diffstat (limited to 'docs')
-rw-r--r--docs/Config.md99
1 files changed, 15 insertions, 84 deletions
diff --git a/docs/Config.md b/docs/Config.md
index 1be7d43cd..17194e60c 100644
--- a/docs/Config.md
+++ b/docs/Config.md
@@ -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)
-## For Colemak Users:
+## Example Keybindings For Colemak Users:
```yaml
keybinding:
universal:
- quit: 'q'
- quit-alt1: '<c-c>' # alternative/alias of quit
- return: '<esc>' # return to previous menu, will quit if there's nowhere to return
- quitWithoutChangingDirectory: 'Q'
- togglePanel: '<tab>' # goto the next panel
- prevItem: '<up>' # go one line up
- nextItem: '<down>' # go one line down
- prevItem-alt: 'k' # go one line up
- nextItem-alt: 'j' # go one line down
- prevBlock: '<left>' # goto the previous block / panel
- 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>'
+ prevItem-alt: 'u' # go one line up
+ nextItem-alt: 'e' # go one line down
+ prevBlock-alt: 'n' # goto the previous block / panel
+ nextBlock-alt: 'i' # goto the next block / panel
+ new: 'k'
+ edit: 'o'
+ openFile: 'O'
+ scrollUpMain-alt1: 'U' # main panel scrool up
+ scrollDownMain-alt1: 'E' # main panel scrool down
+ scrollDownMain-alt2: '<c-e>' # main panel scrool down
status:
- checkForUpdate: 'u'
- recentRepos: 's'
+ checkForUpdate: '<c-u>'
files:
- commitChanges: 'c'
- 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
+ ignoreFile: 'I'
commits:
- squashDown: 's'
- renameCommit: 'r'
- 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'
+ moveDownCommit: '<c-e>' # move commit down one
+ moveUpCommit: '<c-u>' # move commit up one
```