From 713d8485bb53d287a8efc502611c89bdf43943c3 Mon Sep 17 00:00:00 2001 From: chenyc Date: Fri, 18 Nov 2022 14:10:23 +0800 Subject: [PATCH] update --- config/fzf.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"