summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDavid Chen <weichen2000121@gmail.com>2019-12-04 18:46:00 -0800
committerDavid Chen <weichen2000121@gmail.com>2019-12-04 18:46:00 -0800
commit0af8784707b1f3bb9970812d1c21bcd2f839c6fd (patch)
tree65a8c106139edf580819dbe51e2c652e2b762cf7 /docs
parent2ca5766f56519388663fc529570e0af3f4985ee2 (diff)
added all possible custom keybindings to the documentation
Diffstat (limited to 'docs')
-rw-r--r--docs/Config.md7
-rw-r--r--docs/keybindings/Custom_Keybindings.md70
2 files changed, 76 insertions, 1 deletions
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: '<c-e>' # move commit down one
moveUpCommit: '<c-u>' # 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 |
+|---------------|----------------|
+| `<c-a>` | CtrlA |
+| `<c-b>` | CtrlB |
+| `<c-c>` | CtrlC |
+| `<c-d>` | CtrlD |
+| `<c-e>` | CtrlE |
+| `<c-f>` | CtrlF |
+| `<c-g>` | CtrlG |
+| `<c-h>` | CtrlH |
+| `<c-i>` | CtrlI |
+| `<c-j>` | CtrlJ |
+| `<c-k>` | CtrlK |
+| `<c-l>` | CtrlL |
+| `<c-m>` | CtrlM |
+| `<c-n>` | CtrlN |
+| `<c-o>` | CtrlO |
+| `<c-p>` | CtrlP |
+| `<c-q>` | CtrlQ |
+| `<c-r>` | CtrlR |
+| `<c-s>` | CtrlS |
+| `<c-t>` | CtrlT |
+| `<c-u>` | CtrlU |
+| `<c-v>` | CtrlV |
+| `<c-w>` | CtrlW |
+| `<c-x>` | CtrlX |
+| `<c-y>` | CtrlY |
+| `<c-z>` | CtrlZ |
+| `<c-~>` | CtrlTilde |
+| `<c-2>` | Ctrl2 |
+| `<c-3>` | Ctrl3 |
+| `<c-4>` | Ctrl4 |
+| `<c-5>` | Ctrl5 |
+| `<c-6>` | Ctrl6 |
+| `<c-7>` | Ctrl7 |
+| `<c-8>` | Ctrl8 |
+| `<c-space>` | CtrlSpace |
+| `<c-\\>` | CtrlBackslash |
+| `<c-[>` | CtrlLsqBracket |
+| `<c-]>` | CtrlRsqBracket |
+| `<c-/>` | CtrlSlash |
+| `<c-_>` | CtrlUnderscore |
+| `<backspace>` | Backspace |
+| `<tab>` | Tab |
+| `<enter>` | Enter |
+| `<esc>` | Esc |
+| `<space>` | Space |
+| `<f1>` | F1 |
+| `<f2>` | F2 |
+| `<f3>` | F3 |
+| `<f4>` | F4 |
+| `<f5>` | F5 |
+| `<f6>` | F6 |
+| `<f7>` | F7 |
+| `<f8>` | F8 |
+| `<f9>` | F9 |
+| `<f10>` | F10 |
+| `<f11>` | F11 |
+| `<f12>` | F12 |
+| `<insert>` | Insert |
+| `<delete>` | Delete |
+| `<home>` | Home |
+| `<end>` | End |
+| `<pgup>` | Pgup |
+| `<pgdown>` | Pgdn |
+| `<up>` | ArrowUp |
+| `<down>` | ArrowDown |
+| `<left>` | ArrowLeft |
+| `<right>` | ArrowRight |