From 602ba384992ad362b657df8011fc01326b65b4f9 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Mon, 19 Oct 2020 12:20:28 +0200 Subject: [PATCH] zsh: fix history search w/arrow keys --- .zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index c233321..7e460ea 100644 --- a/.zshrc +++ b/.zshrc @@ -97,8 +97,8 @@ zle -N _jump ## Keybindings bindkey -e -bindkey '^[[A' history-substring-search-up -bindkey '^[[B' history-substring-search-down +bindkey '^[[A' history-beginning-search-backward +bindkey '^[[B' history-beginning-search-forward bindkey '^P' history-beginning-search-backward bindkey '^N' history-beginning-search-forward bindkey '^g' _jump