[feat] add zsh search keybind

This commit is contained in:
jay 2022-01-15 21:45:37 +08:00
parent 88bd602f9d
commit 8574ed5967
1 changed files with 3 additions and 0 deletions

View File

@ -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