aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/bindings.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/bindings.go b/config/bindings.go
index 94d7d727..15c2ce31 100644
--- a/config/bindings.go
+++ b/config/bindings.go
@@ -149,8 +149,11 @@ func FormatKeyStrokes(keystrokes []KeyStroke) string {
s := ""
for name, ks := range keyNames {
if ks.Modifiers == stroke.Modifiers && ks.Key == stroke.Key && ks.Rune == stroke.Rune {
- if name == "cr" {
+ switch name {
+ case "cr", "c-m":
name = "enter"
+ case "c-i":
+ name = "tab"
}
s = fmt.Sprintf("<%s>", name)
break