diff --git a/zsh/modules/keybinds/init.zsh b/zsh/modules/keybinds/init.zsh new file mode 100644 index 0000000..45940fd --- /dev/null +++ b/zsh/modules/keybinds/init.zsh @@ -0,0 +1,2 @@ +# CTRL+space to accept Autosuggest's suggestion. +bindkey '^ ' autosuggest-accept diff --git a/zsh/zshenv b/zsh/zshenv index 47d4ac0..318ad4a 100644 --- a/zsh/zshenv +++ b/zsh/zshenv @@ -27,6 +27,9 @@ zstyle ':tmux:auto-start' name 'tmux' FZF_TMUX=1 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. # It will load based on hostname & uname. env_loader(){