From ae85d3a1acc70a59373d638373a8a96797f2b61f Mon Sep 17 00:00:00 2001 From: Samantha McVey Date: Wed, 1 Nov 2017 17:19:49 -0700 Subject: [PATCH] [editor] Add additional key combinations Add ControlUp, ControlDown, ControlHome, ControlEnd, ControlInsert, ControlDelete and add additional ones for ControlPageUp and ControlPageDown. --- modules/editor/init.zsh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/editor/init.zsh b/modules/editor/init.zsh index 415d6530..2e821b3a 100644 --- a/modules/editor/init.zsh +++ b/modules/editor/init.zsh @@ -31,8 +31,14 @@ key_info=( 'Control' '\C-' 'ControlLeft' '\e[1;5D \e[5D \e\e[D \eOd' 'ControlRight' '\e[1;5C \e[5C \e\e[C \eOc' - 'ControlPageUp' '\e[5;5~' - 'ControlPageDown' '\e[6;5~' + 'ControlPageUp' '\e[5;5~ \e[5~' + 'ControlPageDown' '\e[6;5~ \e[6~' + 'ControlUp' '\e[1;5A \e[A' + 'ControlDown' '\e[1;5B \e[B' + 'ControlHome' '\e[1;5H \e[1~' + 'ControlEnd' '\e[1;5F' + 'ControlInsert' '\e[2;5~' + 'ControlDelete' '\e[3;5~' 'Escape' '\e' 'Meta' '\M-' 'Backspace' "^?"