Added better support for autosuggest.

This commit is contained in:
James Patrick 2019-05-02 00:48:04 -04:00
parent e79499c8e3
commit 539058a830
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,2 @@
# CTRL+space to accept Autosuggest's suggestion.
bindkey '^ ' autosuggest-accept

View File

@ -27,6 +27,9 @@ zstyle ':tmux:auto-start' name 'tmux'
FZF_TMUX=1 FZF_TMUX=1
FZF_TMUX_HEIGHT=30% FZF_TMUX_HEIGHT=30%
# Auto suggestion config
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=7"
# This will load the specified zsh files if they exist in the $ZDIR/env directory. # This will load the specified zsh files if they exist in the $ZDIR/env directory.
# It will load based on hostname & uname. # It will load based on hostname & uname.
env_loader(){ env_loader(){