lem icon indicating copy to clipboard operation
lem copied to clipboard

Ideas to improve the *prompt* buffer to be more like the vertical completion packages in Emacs

Open Dima-369 opened this issue 1 year ago • 1 comments

Currently in Lem it looks like this:

image

One needs to manually invoke the completion via tab:

image

In my configured Emacs with https://github.com/minad/vertico, completions are instantly visible, directories are colored and the 1/5 (or here */5 since I did not select anything) count is displayed to know how many completion candidates are there.

image

prompt-window.lisp is the place to modify this behavior, I think, but I am not experienced enough with Lem about implementing this, so just leaving this here. To me this was one of the major steps in migrating many tasks to Emacs once I enabled the vertical completion frameworks in there since they are a joy to navigate :)

Lem would surely benefit from this as well!

Dima-369 avatar Jul 23 '23 10:07 Dima-369

I'm interested in working on this.

My Vertico setup also supports some other nice features: image

image image

This are implemented with a different library, but I think they are pretty nice.

I'll start by adding a configuration option to have automatic completion, and then when I've got that merged in, I'll look into ways to support colors and more configurable options on what gets displayed as part of the completion.

cianoc avatar Feb 01 '24 13:02 cianoc

A vertico-style prompt configuration example is provided here: https://lem-project.github.io/usage/configuration/ https://github.com/lem-project/lem/pull/1362

garlic0x1 avatar Jul 13 '24 14:07 garlic0x1