From 8574ed59673aee0228caceebb47f23cb806f02af Mon Sep 17 00:00:00 2001 From: jay Date: Sat, 15 Jan 2022 21:45:37 +0800 Subject: [PATCH] [feat] add zsh search keybind --- zsh/20_keybind.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/20_keybind.zsh b/zsh/20_keybind.zsh index 943a237..dad14c4 100644 --- a/zsh/20_keybind.zsh +++ b/zsh/20_keybind.zsh @@ -6,6 +6,9 @@ zle -N edit-command-line bindkey '^[,' autosuggest-accept +bindkey '^[[A' history-substring-search-up +bindkey '^[[B' history-substring-search-down + bindkey -M viins '^X^E' edit-command-line # Add emacs-like keybind to viins mode bindkey -M viins '^F' forward-char