🗝
summary refs log tree commit diff
path: root/zsh/keymap
diff options
context:
space:
mode:
authormia <mia@mia.jetzt>2024-03-10 13:28:56 -0700
committermia <mia@mia.jetzt>2024-03-10 13:28:56 -0700
commitefe49395d4194db30f55a91503c91cda33530e8e (patch)
treec2f73587f40d4cd9d66c906fbfcfda97620074cc /zsh/keymap
parent762534242de9e84a4bceb45a1ca2e58d2a15b50d (diff)
downloaddotfiles-efe49395d4194db30f55a91503c91cda33530e8e.tar.gz
dotfiles-efe49395d4194db30f55a91503c91cda33530e8e.zip
add zsh configuration
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'