m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 07:43:39 -05:00

Updated Examples (markdown)

Ram Srivatsa
2025-01-31 04:15:57 -08:00
parent 0f3d24a87c
commit 51f283ec33

@@ -198,7 +198,7 @@ f() {
# - Bypass fuzzy finder if there's only one match (--select-1)
# - Exit if there's no match (--exit-0)
fe() {
IFS=$'\n' files=($(fzf-tmux --query="$1" --multi --select-1 --exit-0))
IFS=$'\n' files=($(fzf-tmux --query="$1" --multi --select-1 --exit-0 --preview="bat --color=always {}))
[[ -n "$files" ]] && ${EDITOR:-vim} "${files[@]}"
}