From 0af8784707b1f3bb9970812d1c21bcd2f839c6fd Mon Sep 17 00:00:00 2001 From: David Chen Date: Wed, 4 Dec 2019 18:46:00 -0800 Subject: [PATCH] added all possible custom keybindings to the documentation --- docs/Config.md | 7 ++- docs/keybindings/Custom_Keybindings.md | 70 ++++++++++++++++++++++++++ 2 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 docs/keybindings/Custom_Keybindings.md diff --git a/docs/Config.md b/docs/Config.md index c2fa30524..fa2c38709 100644 --- a/docs/Config.md +++ b/docs/Config.md @@ -191,7 +191,11 @@ 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) -## Example Keybindings For Colemak Users: +## Keybindings: +For all possible keybinding options, check [Custom_Keybinding.md](https://github.com/jesseduffield/lazygit/blob/master/docs/keybindings/Custom_Keybinding.md) <++> + + +#### Example Keybindings For Colemak Users: ```yaml keybinding: universal: @@ -213,3 +217,4 @@ If you have issues with a light terminal theme where you can't read / see the te moveDownCommit: '' # move commit down one moveUpCommit: '' # move commit up one ``` + diff --git a/docs/keybindings/Custom_Keybindings.md b/docs/keybindings/Custom_Keybindings.md new file mode 100644 index 000000000..6c77f0c10 --- /dev/null +++ b/docs/keybindings/Custom_Keybindings.md @@ -0,0 +1,70 @@ +## Possible keybindings +| Put in | You will get | +|---------------|----------------| +| `` | CtrlA | +| `` | CtrlB | +| `` | CtrlC | +| `` | CtrlD | +| `` | CtrlE | +| `` | CtrlF | +| `` | CtrlG | +| `` | CtrlH | +| `` | CtrlI | +| `` | CtrlJ | +| `` | CtrlK | +| `` | CtrlL | +| `` | CtrlM | +| `` | CtrlN | +| `` | CtrlO | +| `` | CtrlP | +| `` | CtrlQ | +| `` | CtrlR | +| `` | CtrlS | +| `` | CtrlT | +| `` | CtrlU | +| `` | CtrlV | +| `` | CtrlW | +| `` | CtrlX | +| `` | CtrlY | +| `` | CtrlZ | +| `` | CtrlTilde | +| `` | Ctrl2 | +| `` | Ctrl3 | +| `` | Ctrl4 | +| `` | Ctrl5 | +| `` | Ctrl6 | +| `` | Ctrl7 | +| `` | Ctrl8 | +| `` | CtrlSpace | +| `` | CtrlBackslash | +| `` | CtrlLsqBracket | +| `` | CtrlRsqBracket | +| `` | CtrlSlash | +| `` | CtrlUnderscore | +| `` | Backspace | +| `` | Tab | +| `` | Enter | +| `` | Esc | +| `` | Space | +| `` | F1 | +| `` | F2 | +| `` | F3 | +| `` | F4 | +| `` | F5 | +| `` | F6 | +| `` | F7 | +| `` | F8 | +| `` | F9 | +| `` | F10 | +| `` | F11 | +| `` | F12 | +| `` | Insert | +| `` | Delete | +| `` | Home | +| `` | End | +| `` | Pgup | +| `` | Pgdn | +| `` | ArrowUp | +| `` | ArrowDown | +| `` | ArrowLeft | +| `` | ArrowRight |