From 130801dbf62970b5ec1c4e8fc92ba63929c7423e Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Sun, 16 Feb 2025 17:07:18 +0100 Subject: [PATCH] Add a few missing keybindings to docs/keybindings/Custom_Keybindings.md --- docs/keybindings/Custom_Keybindings.md | 4 ++++ pkg/config/keynames.go | 3 +++ 2 files changed, 7 insertions(+) diff --git a/docs/keybindings/Custom_Keybindings.md b/docs/keybindings/Custom_Keybindings.md index 698b87e65..a2537f069 100644 --- a/docs/keybindings/Custom_Keybindings.md +++ b/docs/keybindings/Custom_Keybindings.md @@ -20,11 +20,15 @@ | `` | Pgup | | `` | Pgdn | | `` | ArrowUp | +| `` | ShiftArrowUp | | `` | ArrowDown | +| `` | ShiftArrowDown | | `` | ArrowLeft | | `` | ArrowRight | | `` | Tab | +| `` | Backtab | | `` | Enter | +| `` | AltEnter | | `` | Esc | | `` | Backspace | | `` | CtrlSpace | diff --git a/pkg/config/keynames.go b/pkg/config/keynames.go index 69574affa..419a003f4 100644 --- a/pkg/config/keynames.go +++ b/pkg/config/keynames.go @@ -5,6 +5,9 @@ import ( "github.com/samber/lo" ) +// NOTE: if you make changes to this table, be sure to update +// docs/keybindings/Custom_Keybindings.md as well + var LabelByKey = map[gocui.Key]string{ gocui.KeyF1: "", gocui.KeyF2: "",