[feat] add zsh search keybind

This commit is contained in:
jay 2022-01-15 21:45:37 +08:00
parent 88bd602f9d
commit 8574ed5967

View File

@ -6,6 +6,9 @@ zle -N edit-command-line
bindkey '^[,' autosuggest-accept bindkey '^[,' autosuggest-accept
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
bindkey -M viins '^X^E' edit-command-line bindkey -M viins '^X^E' edit-command-line
# Add emacs-like keybind to viins mode # Add emacs-like keybind to viins mode
bindkey -M viins '^F' forward-char bindkey -M viins '^F' forward-char