🗝
summary refs log tree commit diff
path: root/zsh/keymap
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/keymap')
-rw-r--r--zsh/keymap/xterm-256color17
1 files changed, 17 insertions, 0 deletions
diff --git a/zsh/keymap/xterm-256color b/zsh/keymap/xterm-256color
new file mode 100644
index 0000000..47207d8
--- /dev/null
+++ b/zsh/keymap/xterm-256color
@@ -0,0 +1,17 @@
+typeset -g -A key
+key[Backspace]='^?'
+key[CtrlBackspace]='^H'
+key[Insert]='^[[2~'
+key[Delete]='^[[3~'
+key[Home]='^[[H'
+key[End]='^[[F'
+key[PageUp]='^[[5~'
+key[PageDown]='^[[6~'
+key[Up]='^[[A'
+key[Left]='^[[D'
+key[Down]='^[[B'
+key[Right]='^[[C'
+key[CtrlUp]='^[[1;5A'
+key[CtrlDown]='^[[1;5B'
+key[CtrlRight]='^[[1;5C'
+key[CtrlLeft]='^[[1;5D'