diff options
author | Ivan Oleynikov <ivan.oleynikov95@gmail.com> | 2022-04-19 14:03:36 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-04-25 11:22:12 +0200 |
commit | f21916ce0a436e00e3c9d8eaf0d89c3b29a424b6 (patch) | |
tree | d4475cb1ba6f540b3f3216288cb5bdd6159727d0 /config/bindings.go | |
parent | 25a8a00c558d0548944843df1a35b1db6aa4bfd2 (diff) | |
download | aerc-f21916ce0a436e00e3c9d8eaf0d89c3b29a424b6.tar.gz |
binds: fix incorrect key names for c-] and c-[
The left and right square brackets are inverted. Fix that.
Signed-off-by: Ivan Oleynikov <ivan.oleynikov95@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config/bindings.go')
-rw-r--r-- | config/bindings.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/bindings.go b/config/bindings.go index 4be37dea..8167cfe2 100644 --- a/config/bindings.go +++ b/config/bindings.go @@ -358,9 +358,9 @@ func init() { keyNames["c-x"] = KeyStroke{tcell.ModCtrl, tcell.KeyCtrlX, rune(tcell.KeyCAN)} keyNames["c-y"] = KeyStroke{tcell.ModCtrl, tcell.KeyCtrlY, 0} // TODO: runes for the rest keyNames["c-z"] = KeyStroke{tcell.ModCtrl, tcell.KeyCtrlZ, 0} - keyNames["c-]"] = KeyStroke{tcell.ModCtrl, tcell.KeyCtrlLeftSq, 0} + keyNames["c-]"] = KeyStroke{tcell.ModCtrl, tcell.KeyCtrlRightSq, 0} keyNames["c-\\"] = KeyStroke{tcell.ModCtrl, tcell.KeyCtrlBackslash, 0} - keyNames["c-["] = KeyStroke{tcell.ModCtrl, tcell.KeyCtrlRightSq, 0} + keyNames["c-["] = KeyStroke{tcell.ModCtrl, tcell.KeyCtrlLeftSq, 0} keyNames["c-^"] = KeyStroke{tcell.ModCtrl, tcell.KeyCtrlCarat, 0} keyNames["c-_"] = KeyStroke{tcell.ModCtrl, tcell.KeyCtrlUnderscore, 0} keyNames["nul"] = KeyStroke{tcell.ModNone, tcell.KeyNUL, 0} |