diff --git a/45-plugins.zsh b/45-plugins.zsh index f893c17..c8e5335 100644 --- a/45-plugins.zsh +++ b/45-plugins.zsh @@ -47,6 +47,12 @@ if command -v git-lfs > /dev/null 2>&1; then fi if command -v fzf > /dev/null 2>&1; then + FZF_DEFAULT_OPTS='--height 60% --layout=reverse --border' + if command -v fd > /dev/null 2>&1; then + FZF_DEFAULT_COMMAND="fd --type f" + FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" + FZF_ALT_C_COMMAND="fd --type d" + fi if is-at-least "0.34" "$(fzf --version | awk '{ print $1; }')"; then zinit ice lucid wait'0' mv"completion.zsh -> _fzf" pick"_fzf" as"completion" zinit snippet https://github.com/junegunn/fzf/blob/master/shell/completion.zsh