11# Fig pre block. Keep at the top of this file.
2- [[ -f " $HOME /.fig/shell/zshrc.pre.zsh" ]] && builtin source " $HOME /.fig/shell/zshrc.pre.zsh"
2+ # [[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] && builtin source "$HOME/.fig/shell/zshrc.pre.zsh"
33
44if [[ ! -f $XDG_DATA_HOME /antidote/antidote.zsh ]]; then
55 print -P " %F{33} %F{220}Installing %F{33}antidote%F{220} Initiative Plugin Manager (%F{33}mattmc3/antidote%F{220})…%f"
@@ -59,8 +59,11 @@ _bindkeys () {
5959 bindkey ' ^p' history-beginning-search-backward
6060 bindkey ' ^n' history-beginning-search-forward
6161 bindkey ' ^x^d' kill-word
62- # ^M under csi-u
62+ bindkey ' ^x^f' zce
63+ # ^m
6364 bindkey ' ^[[109;5u' autosuggest-execute
65+ # ^i
66+ bindkey ' ^[[105;5u' menu-select
6467
6568 bindkey ' ^[ds' fzf-select-docker-widget
6669 bindkey ' ^[dc' fzf-docker-remove-containers
@@ -109,6 +112,7 @@ setopt correct
109112autoload run-help
110113
111114zstyle ' :completion:*' matcher-list ' ' ' m:{[:lower:][:upper:]}={[:upper:][:lower:]}'
115+ zstyle ' :completion:*' list-colors ' '
112116
113117if [[ -f $ZDOTDIR /.zshrc.local ]]; then
114118 source $ZDOTDIR /.zshrc.local
@@ -131,6 +135,15 @@ if (( $+commands[asdf] )); then
131135fi
132136
133137source $XDG_CONFIG_HOME /broot/launcher/bash/br
134-
135138# Fig post block. Keep at the bottom of this file.
136- [[ -f " $HOME /.fig/shell/zshrc.post.zsh" ]] && builtin source " $HOME /.fig/shell/zshrc.post.zsh"
139+ # [[ -f "$HOME/.fig/shell/zshrc.post.zsh" ]] && builtin source "$HOME/.fig/shell/zshrc.post.zsh"
140+
141+ autoload -Uz compinit
142+ compinit
143+
144+ # avoid freezing
145+ # marlonrichert/zsh-autocomplete or zsh-users/zsh-autosuggestions
146+ # maybe related to https://github.com/zsh-users/zsh-autosuggestions/issues/751
147+ ZSH_AUTOSUGGEST_IGNORE_WIDGETS=(
148+ $ZSH_AUTOSUGGEST_IGNORE_WIDGETS
149+ )
0 commit comments