mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-20 05:19:24 +02:00
updated keybinding config docs
This commit is contained in:
parent
983379d334
commit
66c7672a0c
@ -1,51 +1,6 @@
|
||||
## 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 |
|
||||
@ -68,3 +23,37 @@
|
||||
| `<down>` | ArrowDown |
|
||||
| `<left>` | ArrowLeft |
|
||||
| `<right>` | ArrowRight |
|
||||
| `<tab>` | Tab |
|
||||
| `<enter>` | Enter |
|
||||
| `<esc>` | Esc |
|
||||
| `<backspace>` | Backspace |
|
||||
| `<c-space>` | CtrlSpace |
|
||||
| `<c-/>` | CtrlSlash |
|
||||
| `<space>` | Space |
|
||||
| `<c-a>` | CtrlA |
|
||||
| `<c-b>` | CtrlB |
|
||||
| `<c-c>` | CtrlC |
|
||||
| `<c-d>` | CtrlD |
|
||||
| `<c-e>` | CtrlE |
|
||||
| `<c-f>` | CtrlF |
|
||||
| `<c-g>` | CtrlG |
|
||||
| `<c-j>` | CtrlJ |
|
||||
| `<c-k>` | CtrlK |
|
||||
| `<c-l>` | CtrlL |
|
||||
| `<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-4>` | Ctrl4 |
|
||||
| `<c-5>` | Ctrl5 |
|
||||
| `<c-6>` | Ctrl6 |
|
||||
| `<c-8>` | Ctrl8 |
|
||||
|
@ -52,7 +52,7 @@ var keyMapReversed = map[gocui.Key]string{
|
||||
gocui.KeyEsc: "esc", // ctrl+[, ctrl+3
|
||||
gocui.KeyBackspace: "backspace", // ctrl+h
|
||||
gocui.KeyCtrlSpace: "ctrl+space", // ctrl+~, ctrl+2
|
||||
gocui.KeyCtrlSlash: "ctrl+/",
|
||||
gocui.KeyCtrlSlash: "ctrl+/", // ctrl+_
|
||||
gocui.KeySpace: "space",
|
||||
gocui.KeyCtrlA: "ctrl+a",
|
||||
gocui.KeyCtrlB: "ctrl+b",
|
||||
@ -77,8 +77,8 @@ var keyMapReversed = map[gocui.Key]string{
|
||||
gocui.KeyCtrlX: "ctrl+x",
|
||||
gocui.KeyCtrlY: "ctrl+y",
|
||||
gocui.KeyCtrlZ: "ctrl+z",
|
||||
gocui.KeyCtrl4: "ctrl+4",
|
||||
gocui.KeyCtrl5: "ctrl+5",
|
||||
gocui.KeyCtrl4: "ctrl+4", // ctrl+\
|
||||
gocui.KeyCtrl5: "ctrl+5", // ctrl+]
|
||||
gocui.KeyCtrl6: "ctrl+6",
|
||||
gocui.KeyCtrl8: "ctrl+8",
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user