Giter VIP home page Giter VIP logo

Comments (3)

minad avatar minad commented on August 29, 2024 1

You mean completion-at-point. This has already been asked in #18. You can use the default completion buffer, consult-completion-in-region or Corfu.

Personally I am using Corfu in regular buffers and the default completion in the minibuffer, but I am rarely completing in the M-: prompt. More often, I type expressions in the *scratch* buffer. Maybe I will switch to Corfu for the minibuffer too, which works since I changed Corfu to use child frames.

I am not a big fan of consult-completion-in-region and selectrum-completion-in-region, which both transfer the completion at point to the minibuffer. But this is specifically the functionality you are asking for - the completion at point in the minibuffer starts another recursive minibuffer session.

from vertico.

ashton314 avatar ashton314 commented on August 29, 2024

Understandable. Thanks for the detailed answer!

I like using M-: for toggling variables on a one-time-basis when I'm trying stuff out, so I end up using this a fair amount. I'll stick with vertico for the time being and I'll see whether or not I get used to it; I like how simple and streamlined it is. You've put together some really nice stuff here! Thanks!

from vertico.

minad avatar minad commented on August 29, 2024

Yes, if you want to have the exact behavior of Selectrum you can use consult-completion-in-region (this replicates the Selectrum functionality as also mentioned in the readme). So at least this feature is not missing from Vertico. Note that there is set-variable, which I am using for your particular use case. set-variable is better since you directly get completion and see the current value in Marginalia 😄

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.