From a62d29f385a223c0a251e4e4a90496076f90174d Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 8 Jul 2019 16:28:15 +0200 Subject: zshrc: Fix keybinds for some ssh sessions Not sure why they have other keycodes, but I don't really care either. This makes it work everywhere. Signed-off-by: Florian Pritz --- .zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.zshrc b/.zshrc index 012552d..ac97d9b 100644 --- a/.zshrc +++ b/.zshrc @@ -108,6 +108,8 @@ bindkey "${terminfo[khome]}" beginning-of-line bindkey "${terminfo[kend]}" end-of-line bindkey '\e[H' beginning-of-line bindkey '\e[F' end-of-line +bindkey "^[OA" history-beginning-search-backward +bindkey "^[OB" history-beginning-search-forward bindkey "^[[A" history-beginning-search-backward bindkey "^[[B" history-beginning-search-forward -- cgit v1.2.3-24-g4f1b