diff --git a/config/fzf.zsh b/config/fzf.zsh index 8c42c6b..758b669 100644 --- a/config/fzf.zsh +++ b/config/fzf.zsh @@ -1,4 +1,4 @@ -alias fzf='fzf --preview "bash $OMZ/lib/file_preview.sh {}" --height 12' +alias fzf='bash $OMZ/lib/get_cursor.sh; fzf --preview "bash $OMZ/lib/file_preview.sh {}" --height 12' export FZF_DEFAULT_OPTS="--height 12 --layout=reverse --history=$OMZ/cache/fzfhistory" export FZF_DEFAULT_COMMAND="fd --exclude={.git,.idea,.vscode,.sass-cache,node_modules,build,dist,vendor} --type f"