summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2019-07-08 16:28:15 +0200
committerFlorian Pritz <bluewind@xinu.at>2019-10-08 15:58:49 +0200
commita62d29f385a223c0a251e4e4a90496076f90174d (patch)
treeba4ac6eb650d26286e1a95f61fc46d45a40cbff9
parent730daf163a817a62a00309eead2d995688d5b1c4 (diff)
downloaddotfiles-a62d29f385a223c0a251e4e4a90496076f90174d.tar.gz
dotfiles-a62d29f385a223c0a251e4e4a90496076f90174d.tar.xz
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 <bluewind@xinu.at>
-rw-r--r--.zshrc2
1 files changed, 2 insertions, 0 deletions
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