Git Product home page Git Product logo

Comments (4)

daviwil avatar daviwil commented on July 17, 2024 1

I don't use TRAMP very often so that isn't really an issue for me!

Yep, I'd be fine with it going through the prompt and back around just so that the logic remains simple.

from vertico.

daviwil avatar daviwil commented on July 17, 2024 1

Sounds great, thanks so much for adding this! I just pulled the latest changes and it works perfectly!

from vertico.

minad avatar minad commented on July 17, 2024

Thanks for giving it another try. Note that it may not work well with Tramp. Icomplete is also very slow with that. In contrast, Selectrum optimizes this use case specially at the cost of more complexity in the UI. You may have seen that Vertico is a really small and focused package. Besides Tramp, Vertico should work well.

Regarding cycling, I would probably be okay with adding this, since this feature can be implemented with a tiny amount of code. Corfu also supports cycling. How should this cycling behave? You might have seen that Vertico allows selection of the prompt in some cases. For example the command find-file allows to move from the first selected item to the prompt to submit non-existing file names.

If we add cycling it should probably work like this: prompt <-> first item <-> ... <-> last item <-> prompt. For some commands prompt selection is disallowed, in this case we would only cycle between the items.

from vertico.

minad avatar minad commented on July 17, 2024

Ah and there is one more - only the vertico-next/previous commands will cycle for simplicity. There is also vertico-scroll-down/up etc. These will stay as is. Corfu has the same logic.

from vertico.

Related Issues (20)

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.