Use fast-syntax-highlighting

Replace zsh-syntax-highlighting plugin with the improved
fast-syntax-highlighting, faster and more accurate.
This commit is contained in:
2018-07-19 23:51:08 +01:00
parent 128cc3c57a
commit ceca7f1438
2 changed files with 14 additions and 2 deletions

14
zshrc
View File

@@ -9,10 +9,22 @@ source-plugin() {
echo "zsh plugin not found: $1"
fi
}
# Fish like automatic suggestions from command history
source-plugin zsh-autosuggestions
# Disable non end-of-line autosuggest accept widgets
ZSH_AUTOSUGGEST_ACCEPT_WIDGETS=(end-of-line vi-end-of-line)
# Search history with a command substring
source-plugin zsh-history-substring-search
source-plugin zsh-syntax-highlighting
# Command syntax highlighting
source-plugin fast-syntax-highlighting
# Automatically source .enter and .exit scripts on cd
source-plugin autoenv
# Build system helper commands
source-plugin build
# Disable non end-of-line autosuggest accept widgets