Coder Social home page Coder Social logo

Strange sorting behaviour about tmux-fuzzback HOT 7 CLOSED

v-tibi avatar v-tibi commented on May 18, 2024
Strange sorting behaviour

from tmux-fuzzback.

Comments (7)

roosta avatar roosta commented on May 18, 2024 1

I think it was because the --no-sort option was set, I don't think I thought that option through, because we want to sort when entering a query. Can you try the branch fix/results-sorting and confirm that it works how you expect?

from tmux-fuzzback.

v-tibi avatar v-tibi commented on May 18, 2024

I tried it and compared using fuzzback with piping the output directly into fzf and I can confirm that now they do the same thing. Now i only have to type 2 letters to find nodejs in the list while before it was something like 50th in the list typing out node as search term. In my view It definitely improved the efficiency of searching! 😀

from tmux-fuzzback.

v-tibi avatar v-tibi commented on May 18, 2024

I experimented a little more with it and what I found is that I would expect fuzzback to list the matches from the current end of the scrollback towards the older outputs. Now it lists the matches from the older ones towards the newer.

from tmux-fuzzback.

roosta avatar roosta commented on May 18, 2024

It lists it in the order that the scrollback lists it, I'm not sure I understand what you mean. When I use date a few times, then use fuzzback, it lists things in this order:

image

which is the order I'd expect since that's the order the scrollback lists it.

Anyways, I merged the --no-sort removal, good catch.

from tmux-fuzzback.

roosta avatar roosta commented on May 18, 2024

There is the option set -g @fuzzback-finder-layout 'reverse', maybe that will work? otherwise there might be conflicting settings from somewhere else.

from tmux-fuzzback.

v-tibi avatar v-tibi commented on May 18, 2024

Sorry, my bad, you are right I did not test it thoroughly and in that case it looked like it just does that, going from earlier output to more recent ones. It was one long day for me. 😉

from tmux-fuzzback.

roosta avatar roosta commented on May 18, 2024

No worries :) I'm closing this since the initial issue has been resolved.

from tmux-fuzzback.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.