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 |
20
zsh/.zshrc
20
zsh/.zshrc
@ -59,17 +59,18 @@ ZINIT[HOME_DIR]="$XDG_CACHE_HOME/zsh/zinit"
|
|||||||
ZINIT[BIN_DIR]="${ZINIT[HOME_DIR]}/bin"
|
ZINIT[BIN_DIR]="${ZINIT[HOME_DIR]}/bin"
|
||||||
ZINIT[PLUGINS_DIR]="${ZINIT[HOME_DIR]}/plugins"
|
ZINIT[PLUGINS_DIR]="${ZINIT[HOME_DIR]}/plugins"
|
||||||
if [ ! -e "${ZINIT[HOME_DIR]}" ]; then
|
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
|
fi
|
||||||
source "${ZINIT[HOME_DIR]}"/zinit.zsh
|
source "${ZINIT[HOME_DIR]}"/zinit.zsh
|
||||||
|
|
||||||
zinit wait lucid light-mode for \
|
zinit wait lucid for \
|
||||||
atinit"ZINIT[COMPINIT_OPTS]=-C; zicompinit; zicdreplay" \
|
atinit"ZINIT[COMPINIT_OPTS]=-C;zicompinit;zicdreplay" \
|
||||||
zdharma/fast-syntax-highlighting \
|
atload"FAST_HIGHLIGHT[chroma-zinit]=" \
|
||||||
blockf \
|
zdharma-continuum/fast-syntax-highlighting \
|
||||||
zsh-users/zsh-completions \
|
blockf \
|
||||||
atload"!_zsh_autosuggest_start" \
|
zsh-users/zsh-completions \
|
||||||
zsh-users/zsh-autosuggestions
|
atload"!_zsh_autosuggest_start" \
|
||||||
|
zsh-users/zsh-autosuggestions
|
||||||
|
|
||||||
zinit light agkozak/zsh-z
|
zinit light agkozak/zsh-z
|
||||||
|
|
||||||
@ -108,6 +109,9 @@ bindkey -M vicmd K vi-kill-eol
|
|||||||
bindkey -M vicmd j vi-find-next-char-skip
|
bindkey -M vicmd j vi-find-next-char-skip
|
||||||
bindkey -M vicmd l vi-repeat-search
|
bindkey -M vicmd l vi-repeat-search
|
||||||
|
|
||||||
|
# Disable all fsh chromas, fixes `zi` being slow
|
||||||
|
FAST_HIGHLIGHT=()
|
||||||
|
|
||||||
ZSH_AUTOSUGGEST_USE_ASYNC=true
|
ZSH_AUTOSUGGEST_USE_ASYNC=true
|
||||||
ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=128
|
ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=128
|
||||||
ZSH_AUTOSUGGEST_CLEAR_WIDGETS=("${(@)ZSH_AUTOSUGGEST_CLEAR_WIDGETS:#(up|down)-line-or-history}")
|
ZSH_AUTOSUGGEST_CLEAR_WIDGETS=("${(@)ZSH_AUTOSUGGEST_CLEAR_WIDGETS:#(up|down)-line-or-history}")
|
||||||
|
Loading…
Reference in New Issue
Block a user