mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Compare commits
2 Commits
a48288ad50
...
90038f8795
Author | SHA1 | Date | |
---|---|---|---|
90038f8795 | |||
7775fb62e4 |
10
zsh/.zshrc
10
zsh/.zshrc
@ -59,13 +59,14 @@ 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/zinit.git "${ZINIT[HOME_DIR]}"
|
||||
git clone https://github.com/zdharma-continuum/zinit.git "${ZINIT[HOME_DIR]}"
|
||||
fi
|
||||
source "${ZINIT[HOME_DIR]}"/zinit.zsh
|
||||
|
||||
zinit wait lucid light-mode for \
|
||||
zinit wait lucid for \
|
||||
atinit"ZINIT[COMPINIT_OPTS]=-C;zicompinit;zicdreplay" \
|
||||
zdharma/fast-syntax-highlighting \
|
||||
atload"FAST_HIGHLIGHT[chroma-zinit]=" \
|
||||
zdharma-continuum/fast-syntax-highlighting \
|
||||
blockf \
|
||||
zsh-users/zsh-completions \
|
||||
atload"!_zsh_autosuggest_start" \
|
||||
@ -108,6 +109,9 @@ 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