fix: configure fzf after zsh vi mode

This commit is contained in:
Price Hiller 2022-07-31 02:39:32 -05:00
parent 915f1cacba
commit 7bf5dee63d

View File

@ -13,7 +13,9 @@ source "${HOME}/.local/share/autojump/etc/profile.d/autojump.sh"
export PATH="${PATH}:${HOME}/.local/share/autojump/bin"
### FZF ###
[[ -f "${HOME}/.config/fzf/fzf.zsh" ]] && source "${HOME}/.config/fzf/fzf.zsh"
function zvm_after_init() {
[[ -r "${HOME}/.config/fzf/fzf.zsh" ]] && source "${HOME}/.config/fzf/fzf.zsh"
}
export FZF_DEFAULT_COMMAND='fd --hidden --exclude .git --color=always'
export FZF_DEFAULT_OPTS="--height=80% --layout=reverse --info=inline --border --margin=1 --ansi"
export FZF_CTRL_T_COMMAND="${FZF_DEFAULT_COMMAND}"