-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
What does --toggle-sort do? #745
Comments
Have you looked at
|
No, I didn't even know a man page existed. Thanks for letting me know. That helps but just raises more questions for eg. this bit here: Also, the only thing in there is this line As you can see the order of the command history hasn't changed. |
Each comma-separated search scope is tried in order. So fzf first checks if the query matches in
See the point?
Try it after typing in some query string. Regarding the ranking algorithm, see https://github.com/junegunn/fzf/blob/0.15.9/src/algo/algo.go#L39 |
Ah, I see. Thanks a lot for answering all my questions. |
Finally fzf widget that accept key bindings REFERENCE junegunn/fzf/issues/745 junegunn/fzf/issues/1552 junegunn/fzf/pull/1492 junegunn/fzf/wiki/examples https://www.geeksforgeeks.org/array-basics-shell-scripting-set-1/ http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_07_01.html
Hi,
--toggle-sort
is being used in fzf_history butfzf --help
doesn't mention what it does.In fzf_history, why have
+s
followed by--toggle-sort
?Also, can you please explain what
-n
does with an example?The text was updated successfully, but these errors were encountered: