-
When first running fzf-lua/lua/fzf-lua/defaults.lua Line 1165 in 1dcef24 However, after typing a pattern, the sorting by Is there a way to keep the % zoxide --version
zoxide 0.9.7
% which zi
zi () {
__zoxide_zi "$@"
}
% which __zoxide_zi
__zoxide_zi () {
__zoxide_doctor
\builtin local result
result="$(\command zoxide query --interactive -- "$@")" && __zoxide_cd "${result}"
}
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
AFAIK custom sorter is not possible with fzf without going through hoops, I also have zoxide 0.9.7 and the sorting you posted doesn't work (impossible to tell what's going on there with the screenshot blur), as you can see below once I start typing fzf-lua went to the bottom eventhough it has the highest score: See upstream: junegunn/fzf#1213 (comment) |
Beta Was this translation helpful? Give feedback.
-
You need Fix in #1998. |
Beta Was this translation helpful? Give feedback.
You need
--no-sort
. Here's what zoxide did:https://github.com/ajeetdsouza/zoxide/blob/dbe6f185cf62744a03c107bae1f6c546daa72fb2/src/cmd/query.rs#L97-L115
Fix in #1998.