summaryrefslogtreecommitdiff
path: root/zsh/zkbd/xterm-256color-unknown-linux-gnu
diff options
context:
space:
mode:
authorNick Shipp <nick@shipp.ninja>2017-05-07 09:04:01 -0400
committerNick Shipp <nick@shipp.ninja>2017-05-07 09:04:01 -0400
commitc012f55efda29f09179e921cf148d79deb57616e (patch)
treeff0ad37f22622d51194cab192a2aa4b0106d7ad0 /zsh/zkbd/xterm-256color-unknown-linux-gnu
parent4ca8f6608883d230131f8a9e8b6d6c091c516049 (diff)
Much maturering of vim configs
Diffstat (limited to 'zsh/zkbd/xterm-256color-unknown-linux-gnu')
-rw-r--r--zsh/zkbd/xterm-256color-unknown-linux-gnu30
1 files changed, 30 insertions, 0 deletions
diff --git a/zsh/zkbd/xterm-256color-unknown-linux-gnu b/zsh/zkbd/xterm-256color-unknown-linux-gnu
new file mode 100644
index 0000000..6af6cdc
--- /dev/null
+++ b/zsh/zkbd/xterm-256color-unknown-linux-gnu
@@ -0,0 +1,30 @@
+# this is for weston-terminal running in weston
+typeset -g -A key
+
+key[F1]='^[OP'
+key[F2]='^[OQ'
+key[F3]='^[OR'
+key[F4]='^[OS'
+key[F5]='^[[15~'
+key[F6]='^[[17~'
+key[F7]='^[[18~'
+key[F8]='^[[19~'
+key[F9]='^[[20~'
+key[F10]='^[[21~'
+# the weston compositor eats F11
+# key[F11]=''''
+key[F12]='^[[24~'
+key[Backspace]='^?'
+# no insert???
+# key[Insert]=''''
+key[Home]='^[[H'
+key[PageUp]='^[[5~'
+key[Delete]='^[[3~'
+key[End]='^[[F'
+key[PageDown]='^[[6~'
+key[Up]='^[[A'
+key[Left]='^[[D'
+key[Down]='^[[B'
+key[Right]='^[[C'
+# what menu?
+# key[Menu]=''''