<commit_before># Initializes mcfly
if installed mcfly; then
  eval "$(mcfly init zsh)"
fi

# Key bindings
autoload -Uz smart-insert-last-word
zle -N insert-last-word smart-insert-last-word
# include words that is at least two characters long
zstyle :insert-last-word match '*([[:alpha:]/\\]?|?[[:alpha:]/\\])*'
bindkey '^]' insert-last-word

bindkey "^[[Z" reverse-menu-complete
bindkey "^O" reverse-menu-complete

bindkey "^g^h" backward-word
bindkey "^g^l" forward-word<commit_msg>[zsh] Fix `^J` key bindings<commit_after># Initializes mcfly
if installed mcfly; then
  eval "$(mcfly init zsh)"
fi

# olets/zsh-abbr
bindkey '^J' _abbr_widget_expand_and_accept

# Key bindings
autoload -Uz smart-insert-last-word
zle -N insert-last-word smart-insert-last-word
# include words that is at least two characters long
zstyle :insert-last-word match '*([[:alpha:]/\\]?|?[[:alpha:]/\\])*'
bindkey '^]' insert-last-word

bindkey "^[[Z" reverse-menu-complete
bindkey "^O" reverse-menu-complete

bindkey "^g^h" backward-word
bindkey "^g^l" forward-word
{'fraction_non_alphanumeric': 0.16410748560460653, 'fraction_numerical': 0.0, 'mean_word_length': 4.96, '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': '3812298', 'n_tokens_mistral': 397, 'n_tokens_neox': 376, 'n_words': 103}