-
Notifications
You must be signed in to change notification settings - Fork 39
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
FZF Like Anchors/Selectors #44
Comments
You can just override the sorter. This for example to set your configured default file sorter
|
Interesting. This works, but the displayed results are shortened, though I'm only able to match against absolute paths, so I always have to match with things like Edit: using the command: require("telescope").extensions.frecency.frecency({ sorter = require("telescope").extensions.fzf.native_fzf_sorter() }) |
I wonder if the sorter could be a config option instead? |
#44 shows how to use other sorter if you're using https://github.com/natecraddock/telescope-zf-native.nvim , after setup, you can use the following code to use require 'telescope'.extensions.frecency.frecency({
sorter = require 'telescope.config'.values.file_sorter(),
|
@FelipeLema thanks for that, i was actually wondering exactly how to use this with zf-native :) |
This plugin is great! One thing I really miss though is that since this is implemented essentially as a sorter (with underlying matching done just with substrings) I lose all the intelligence of the grammar I have with my default sorter (fzf-native). Primarily, I miss being able to use
^
(consecutive chars at the beginning of the match),'
(consecutive chars anywhere in the match) and$
(consecutive chars at the end of the match.Is there any way I can regain this functionality? Thanks!
The text was updated successfully, but these errors were encountered: