Support for inline previews #3251
Unanswered
avidseeker
asked this question in
Q&A
Replies: 1 comment
-
# save some data in bm.csv
cat << EOF > bm.csv
neat title; https://some/really/long/and/ugly/url
latest commit of an interesting tool; https://github.com/junegunn/fzf/commit/f1a96296525975ea7d4c45aebc4fed5117cecb72
another neat title; https://another/ugly/url/one
EOF
# Separate title and URL by ";" and show only the first part,
# add a hotkey to open the URL in the browser and adjust enter action to print url.
cat bm.csv | fzf -d ";" --with-nth 1 --bind 'enter:execute(echo {1})+abort' --bind 'ctrl-b:execute-silent:open {2}'
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Say I'm
fzf
ing a list of bookmarks in a.csv
fileCan fzf preview these ugly urls as their titles? E.g: if
neat title
is selected and accepted by user, fzf outputshttps://some/really/long/and/ugly/url
Beta Was this translation helpful? Give feedback.
All reactions