Searching with exact match
zhou13 opened this issue · comments
Currently, this is already possible by typing in a query like for\ i\ in
that escapes the spaces. But I think you are right that we're missing any documentation for this, and that we could probably make this clearer. WDYT of adding support for just quoting anything that you want to be an exact match? That way it would be possible to have a query like "for i in" cwd:/tmp/foo/
.
Thank you! Quoting is probably the most intuitive way to do this.
I wonder does fzf's fuzzy matching score the same?
I copied the below two lines, then ran pbpaste | fzf
, and it seemed to score correctly, but I can't say that my test is conclusive.
history config-set timestampt-format
for i in
Thanks for that comment @mustafa0x! I think that is conceptually a separate feature request, so I opened #158 to track that improvement. Marking this one as closed, but please let me know if you have any other thoughts on exact match searches.