zeesh history search bindings

This commit is contained in:
kat witch 2021-08-14 02:57:21 +01:00
parent 4b525689d8
commit 3607d68a10
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72

View file

@ -45,6 +45,14 @@ in {
zstyle ':completion:*:complete:pass:*:*' matcher 'r:|[./_-]=** r:|=*' 'l:|=* r:|=*'
${lib.concatStringsSep "\n" (map (opt: "setopt ${opt}") zshOpts)}
source ${./zshrc-vimode}
bindkey '^ ' autosuggest-accept
autoload -Uz history-search-end
zle -N history-beginning-search-backward-end \
history-search-end
zle -N history-beginning-search-forward-end \
history-search-end
bindkey "\e[5~" history-beginning-search-backward-end
bindkey "\e[6~" history-beginning-search-forward-end
echo ""; akiflags -rb;
'';
shellAliases = {