<commit_before>bindkey $key[Up] up-line-or-history
bindkey $key[Down] down-line-or-history

bindkey -M menuselect '^H' vi-backward-char
bindkey -M menuselect '^K' vi-up-line-or-history
bindkey -M menuselect '^L' vi-forward-char
bindkey -M menuselect '^J' vi-down-line-or-history<commit_msg>zsh: Overwrite the completion option<commit_after>bindkey $key[Up] up-line-or-history
bindkey $key[Down] down-line-or-history

bindkey -M menuselect '^H' vi-backward-char
bindkey -M menuselect '^K' vi-up-line-or-history
bindkey -M menuselect '^L' vi-forward-char
bindkey -M menuselect '^J' vi-down-line-or-history

function precmd_overwrite_options() {
  # $ZDATADIR/zinit/plugins/marlonrichert---zsh-autocomplete/module/.autocomplete.config
  zstyle ':completion:*:complete:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' '+l:|=* r:|=*'
}

autoload -Uz add-zsh-hook
add-zsh-hook precmd precmd_overwrite_options

{'fraction_non_alphanumeric': 0.16866158868335146, 'fraction_numerical': 0.0, 'mean_word_length': 5.388888888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '971088', 'n_tokens_mistral': 369, 'n_tokens_neox': 360, 'n_words': 70}