summaryrefslogtreecommitdiff
path: root/zsh/zkbd/xterm-256color-unknown-linux-gnu
diff options
context:
space:
mode:
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]=''''