Open purpleP opened 7 years ago
Why not filter before sending input to fzy?
vim $(awk '/^> /{ print substr($0, 3) }' ~/.viminfo | fzy)
or in your case:
grep -rHn ly | cut -d" " -f2 | fzy
@y2kbugger because that's not what I want. Suppose I'm searching something with multiple columns and I want to see both columns, but search only in the second. Think of command line history where first column is timestamp or number. There are different cases for this.
Another example of this for me is e.g. wanting to fzy
ctags -- where I want to see the function signature, but filter only on the tag name.
Another example of this for me is e.g. wanting to
fzy
ctags -- where I want to see the function signature, but filter only on the tag name.
Exactly!
Suppose I want to fzy filter
grep -rHn
results. For me matches in file names are useless and just complicate things. If you would add something likefzy --filter='cut -d" " -f2,
or something like that so that users could say what part of input is actually searchable this would solve this problem.