Browse Source

fv previews

pull/8/head
DanielFGray 1 year ago
parent
commit
c1bbd91c7e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      fv

+ 1
- 1
fv View File

@@ -180,7 +180,7 @@ fi

main() {
choices=$($search_cmd "${search_opts[@]}" 2> /dev/null |
fzf -e --ansi --cycle --multi --reverse ${small:+--reverse --height=50%}) || exit 1
fzf --ansi --multi --preview='[[ $(file -b {}) = *text* ]] && highlight -q --force -O ansi {}') || exit 1

if [[ "$search_str" != '' ]]; then
if [[ $search_cmd == 'ag' ]]; then

Loading…
Cancel
Save