mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Compare commits
No commits in common. "90038f87957d3509fa74229e542fc27d2149ec57" and "a48288ad5067dd60a3e7b866b13ebd1aede3d58c" have entirely different histories.
90038f8795
...
a48288ad50
12
zsh/.zshrc
12
zsh/.zshrc
@ -59,14 +59,13 @@ ZINIT[HOME_DIR]="$XDG_CACHE_HOME/zsh/zinit"
|
||||
ZINIT[BIN_DIR]="${ZINIT[HOME_DIR]}/bin"
|
||||
ZINIT[PLUGINS_DIR]="${ZINIT[HOME_DIR]}/plugins"
|
||||
if [ ! -e "${ZINIT[HOME_DIR]}" ]; then
|
||||
git clone https://github.com/zdharma-continuum/zinit.git "${ZINIT[HOME_DIR]}"
|
||||
git clone https://github.com/zdharma/zinit.git "${ZINIT[HOME_DIR]}"
|
||||
fi
|
||||
source "${ZINIT[HOME_DIR]}"/zinit.zsh
|
||||
|
||||
zinit wait lucid for \
|
||||
atinit"ZINIT[COMPINIT_OPTS]=-C;zicompinit;zicdreplay" \
|
||||
atload"FAST_HIGHLIGHT[chroma-zinit]=" \
|
||||
zdharma-continuum/fast-syntax-highlighting \
|
||||
zinit wait lucid light-mode for \
|
||||
atinit"ZINIT[COMPINIT_OPTS]=-C; zicompinit; zicdreplay" \
|
||||
zdharma/fast-syntax-highlighting \
|
||||
blockf \
|
||||
zsh-users/zsh-completions \
|
||||
atload"!_zsh_autosuggest_start" \
|
||||
@ -109,9 +108,6 @@ bindkey -M vicmd K vi-kill-eol
|
||||
bindkey -M vicmd j vi-find-next-char-skip
|
||||
bindkey -M vicmd l vi-repeat-search
|
||||
|
||||
# Disable all fsh chromas, fixes `zi` being slow
|
||||
FAST_HIGHLIGHT=()
|
||||
|
||||
ZSH_AUTOSUGGEST_USE_ASYNC=true
|
||||
ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=128
|
||||
ZSH_AUTOSUGGEST_CLEAR_WIDGETS=("${(@)ZSH_AUTOSUGGEST_CLEAR_WIDGETS:#(up|down)-line-or-history}")
|
||||
|
Loading…
Reference in New Issue
Block a user