<commit_before># Set binds for Word and line movement.
bindkey '^F' forward-word
bindkey '^V' backward-word
bindkey '^A' beginning-of-line
bindkey '^E' end-of-line

# Set binds for history-substring-search.
bindkey '^P' history-substring-search-up
bindkey '^N' history-substring-search-down
bindkey -M vicmd 'k' history-substring-search-up
bindkey -M vicmd 'j' history-substring-search-down<commit_msg>Only set substring binds when plugin installed<commit_after># Set binds for word and line movement.
bindkey '^F' forward-word
bindkey '^V' backward-word
bindkey '^A' beginning-of-line
bindkey '^E' end-of-line

# Set binds for history-substring-search.
if zplug check zsh-users/zsh-history-substring-search; then
  bindkey '^P' history-substring-search-up
  bindkey '^N' history-substring-search-down
  bindkey -M vicmd 'k' history-substring-search-up
  bindkey -M vicmd 'j' history-substring-search-down
fi
{'fraction_non_alphanumeric': 0.11894273127753303, 'fraction_numerical': 0.0, 'mean_word_length': 4.826923076923077, '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': '7348939', 'n_tokens_mistral': 309, 'n_tokens_neox': 303, 'n_words': 91}