initial commit
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
export FZF_DEFAULT_OPTS=" \
|
||||
--height 40% \
|
||||
--style full \
|
||||
--layout reverse \
|
||||
--preview 'tree -C {} | head -160'
|
||||
"
|
||||
|
||||
# select directory by default
|
||||
export FZF_DEFAULT_COMMAND="
|
||||
fd -a --type f --type d --hidden --follow --exclude .git --exclude node_modules --base-directory $HOME
|
||||
"
|
||||
|
||||
export FZF_CTRL_T_OPTS="--preview '(highlight -O ansi -l {} 2> /dev/null || bat --color=always {} || tree -C {}) 2> /dev/null | head -160'"
|
||||
export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -160'"
|
||||
export FZF_CTRL_R_OPTS="--preview 'echo {}' --preview-window down:3:hidden:wrap --bind '?:toggle-preview'"
|
||||
Reference in New Issue
Block a user