From efe49395d4194db30f55a91503c91cda33530e8e Mon Sep 17 00:00:00 2001 From: mia Date: Sun, 10 Mar 2024 13:28:56 -0700 Subject: add zsh configuration --- zsh/keymap/xterm-256color | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 zsh/keymap/xterm-256color (limited to 'zsh/keymap/xterm-256color') 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' -- cgit 1.4.1