-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow placing a ' at the end of a search term for an exact match #1336
Comments
Looks like this is a desired feature, see #1305 #1265 (comment). To have a command to toggle the |
If using the |
@CeleritasCelery thank you for the tip. |
There is a downside to this; Currently, searching for @junegunn A better way is to make a single Some examples of what I mean:
The meaning would be inverted if |
@NightMachinery Just an idea:: using "wrapping" of fzf with an appropriate (expansion) tool replacing typed user input line it should be possible to implement any desired functionality like moving the trailing quotation mark ' to the start of a word or toggle the ' prefix of each word on occurrence of a single ' (surrounded by spaces) in the input. Also a patch extending fzf with an option for such "expansion" of user input should be not very hard to provide. |
so that the search terms are equivalent:
'hello
andhello'
It will be useful in a use case such as this :
hello
hello'
hello' world
currently, the use that will have to type a few more keystrokes, which is a little less intuitive
hello
<c-a>'
<c-e> world
to gethello' world
In the second example the user has to do a few more keystrokes to jump back and forth between the start and end of the text field, which is a little bit unintuitive and inconvenient
The text was updated successfully, but these errors were encountered: