zsh-autosuggestions/lib/config.zsh

38 lines
889 B
Bash
Raw Normal View History

2016-01-27 04:51:44 +01:00
# Color to use when highlighting autosuggestion
# Uses format of `region_highlight`
# More info: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Zle-Widgets
ZSH_AUTOSUGGEST_HIGHLIGHT_COLOR='fg=8'
# Widgets that clear the autosuggestion
ZSH_AUTOSUGGEST_CLEAR_WIDGETS=(
history-search-forward
history-search-backward
history-beginning-search-forward
history-beginning-search-backward
history-substring-search-up
history-substring-search-down
accept-line
)
# Widgets that modify the autosuggestion
ZSH_AUTOSUGGEST_MODIFY_WIDGETS=(
complete-word
expand-or-complete
expand-or-complete-prefix
list-choices
menu-complete
reverse-menu-complete
menu-expand-or-complete
accept-and-menu-complete
self-insert
magic-space
backward-delete-char
bracketed-paste
)
# Widgets that accept the autosuggestion
ZSH_AUTOSUGGEST_ACCEPT_WIDGETS=(
vi-forward-char
forward-char
)