Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.
0 votes
in vifm by
edited by

long story short this is what i have in vifmrc:

command! FZFfind :set noquickview | :execute 'goto' fnameescape(term('find 2>/dev/null | fzf -1 -m --height 10 2>/dev/tty | xargs -o vim -p')) | :set quickview

it just hangs before opening the files

1 Answer

0 votes
edited by

Are you sure you need | xargs -o vim -p part? It looks like it shouldn't be there for :goto command.

It looks like you want something like:

command! FZFfind find 2>/dev/null | fzf -1 -m --height 10 2>/dev/tty | xargs -o vim -p