about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2019-07-15 21:57:37 +0200
committerDrew DeVault <sir@cmpwn.com>2019-07-17 15:58:46 -0400
commit1c419d1b4d39344b831d3bb81cd3293f477bca0a (patch)
tree5209bc9a41ff958b50a4787338ea2a177853a52a
parenteb0481b9cc7d7cfff9d9c2e163bbe106eb2a0de4 (diff)
downloadaerc-1c419d1b4d39344b831d3bb81cd3293f477bca0a.tar.gz
lowercase all key bindings
-rw-r--r--config/bindings.go64
1 files changed, 32 insertions, 32 deletions
diff --git a/config/bindings.go b/config/bindings.go
index e74624c..46e6924 100644
--- a/config/bindings.go
+++ b/config/bindings.go
@@ -274,37 +274,37 @@ func init() {
 	keyNames["c-["] = KeyStroke{tcell.KeyCtrlRightSq, 0}
 	keyNames["c-^"] = KeyStroke{tcell.KeyCtrlCarat, 0}
 	keyNames["c-_"] = KeyStroke{tcell.KeyCtrlUnderscore, 0}
-	keyNames["NUL"] = KeyStroke{tcell.KeyNUL, 0}
-	keyNames["SOH"] = KeyStroke{tcell.KeySOH, 0}
-	keyNames["STX"] = KeyStroke{tcell.KeySTX, 0}
-	keyNames["ETX"] = KeyStroke{tcell.KeyETX, 0}
-	keyNames["EOT"] = KeyStroke{tcell.KeyEOT, 0}
-	keyNames["ENQ"] = KeyStroke{tcell.KeyENQ, 0}
-	keyNames["ACK"] = KeyStroke{tcell.KeyACK, 0}
-	keyNames["BEL"] = KeyStroke{tcell.KeyBEL, 0}
-	keyNames["BS"] = KeyStroke{tcell.KeyBS, 0}
+	keyNames["nul"] = KeyStroke{tcell.KeyNUL, 0}
+	keyNames["soh"] = KeyStroke{tcell.KeySOH, 0}
+	keyNames["stx"] = KeyStroke{tcell.KeySTX, 0}
+	keyNames["etx"] = KeyStroke{tcell.KeyETX, 0}
+	keyNames["eot"] = KeyStroke{tcell.KeyEOT, 0}
+	keyNames["enq"] = KeyStroke{tcell.KeyENQ, 0}
+	keyNames["ack"] = KeyStroke{tcell.KeyACK, 0}
+	keyNames["bel"] = KeyStroke{tcell.KeyBEL, 0}
+	keyNames["bs"] = KeyStroke{tcell.KeyBS, 0}
 	keyNames["tab"] = KeyStroke{tcell.KeyTAB, 0}
-	keyNames["LF"] = KeyStroke{tcell.KeyLF, 0}
-	keyNames["VT"] = KeyStroke{tcell.KeyVT, 0}
-	keyNames["FF"] = KeyStroke{tcell.KeyFF, 0}
-	keyNames["CR"] = KeyStroke{tcell.KeyCR, 0}
-	keyNames["SO"] = KeyStroke{tcell.KeySO, 0}
-	keyNames["SI"] = KeyStroke{tcell.KeySI, 0}
-	keyNames["DLE"] = KeyStroke{tcell.KeyDLE, 0}
-	keyNames["DC1"] = KeyStroke{tcell.KeyDC1, 0}
-	keyNames["DC2"] = KeyStroke{tcell.KeyDC2, 0}
-	keyNames["DC3"] = KeyStroke{tcell.KeyDC3, 0}
-	keyNames["DC4"] = KeyStroke{tcell.KeyDC4, 0}
-	keyNames["NAK"] = KeyStroke{tcell.KeyNAK, 0}
-	keyNames["SYN"] = KeyStroke{tcell.KeySYN, 0}
-	keyNames["ETB"] = KeyStroke{tcell.KeyETB, 0}
-	keyNames["CAN"] = KeyStroke{tcell.KeyCAN, 0}
-	keyNames["EM"] = KeyStroke{tcell.KeyEM, 0}
-	keyNames["SUB"] = KeyStroke{tcell.KeySUB, 0}
-	keyNames["ESC"] = KeyStroke{tcell.KeyESC, 0}
-	keyNames["FS"] = KeyStroke{tcell.KeyFS, 0}
-	keyNames["GS"] = KeyStroke{tcell.KeyGS, 0}
-	keyNames["RS"] = KeyStroke{tcell.KeyRS, 0}
-	keyNames["US"] = KeyStroke{tcell.KeyUS, 0}
-	keyNames["DEL"] = KeyStroke{tcell.KeyDEL, 0}
+	keyNames["lf"] = KeyStroke{tcell.KeyLF, 0}
+	keyNames["vt"] = KeyStroke{tcell.KeyVT, 0}
+	keyNames["ff"] = KeyStroke{tcell.KeyFF, 0}
+	keyNames["cr"] = KeyStroke{tcell.KeyCR, 0}
+	keyNames["so"] = KeyStroke{tcell.KeySO, 0}
+	keyNames["si"] = KeyStroke{tcell.KeySI, 0}
+	keyNames["dle"] = KeyStroke{tcell.KeyDLE, 0}
+	keyNames["dc1"] = KeyStroke{tcell.KeyDC1, 0}
+	keyNames["dc2"] = KeyStroke{tcell.KeyDC2, 0}
+	keyNames["dc3"] = KeyStroke{tcell.KeyDC3, 0}
+	keyNames["dc4"] = KeyStroke{tcell.KeyDC4, 0}
+	keyNames["nak"] = KeyStroke{tcell.KeyNAK, 0}
+	keyNames["syn"] = KeyStroke{tcell.KeySYN, 0}
+	keyNames["etb"] = KeyStroke{tcell.KeyETB, 0}
+	keyNames["can"] = KeyStroke{tcell.KeyCAN, 0}
+	keyNames["em"] = KeyStroke{tcell.KeyEM, 0}
+	keyNames["sub"] = KeyStroke{tcell.KeySUB, 0}
+	keyNames["esc"] = KeyStroke{tcell.KeyESC, 0}
+	keyNames["fs"] = KeyStroke{tcell.KeyFS, 0}
+	keyNames["gs"] = KeyStroke{tcell.KeyGS, 0}
+	keyNames["rs"] = KeyStroke{tcell.KeyRS, 0}
+	keyNames["us"] = KeyStroke{tcell.KeyUS, 0}
+	keyNames["del"] = KeyStroke{tcell.KeyDEL, 0}
 }