<commit_before># Incremental completion for zsh
# by y.fujii <y-fujii at mimosa-pudica.net>, public domain


autoload -U compinit
zle -N self-insert self-insert-incr
zle -N vi-cmd-mode-incr
zle -N vi-backward-delete-char-incr
zle -N vi-backward-kill-word-incr
zle -N backward-delete-char-incr
zle -N expand-or-complete-prefix-incr
zle -N set-no-prediction
compinit

bindkey -M viins '^[' vi-cmd-mode-incr
bindkey -M viins '^?' vi-backward-delete-char-incr
bindkey -M viins '^w' vi-backward-kill-word-incr
bindkey -M viins '^i' expand-or-complete-prefix-incr
bindkey -M viins '^z' set-no-prediction

#unsetopt automenu
compdef -d scp
#compdef -d tar<commit_msg>Fix backspace behavior for incr inside tmux.<commit_after># Incremental completion for zsh
# by y.fujii <y-fujii at mimosa-pudica.net>, public domain


autoload -U compinit
zle -N self-insert self-insert-incr
zle -N vi-cmd-mode-incr
zle -N vi-backward-delete-char-incr
zle -N vi-backward-kill-word-incr
zle -N backward-delete-char-incr
zle -N expand-or-complete-prefix-incr
zle -N set-no-prediction
compinit

bindkey -M viins '^[' vi-cmd-mode-incr
bindkey -M viins '^?' vi-backward-delete-char-incr
bindkey -M viins '^H' vi-backward-delete-char-incr
bindkey -M viins '^w' vi-backward-kill-word-incr
bindkey -M viins '^i' expand-or-complete-prefix-incr
bindkey -M viins '^z' set-no-prediction

#unsetopt automenu
compdef -d scp
#compdef -d tar
{'fraction_non_alphanumeric': 0.1291012838801712, 'fraction_numerical': 0.0, 'mean_word_length': 3.9055944055944054, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5582382', 'n_tokens_mistral': 582, 'n_tokens_neox': 577, 'n_words': 148}