Results 884 comments of Ivan Yonchovski

I am looking for this feature too: See https://endlessparentheses.com/define-context-aware-keys-in-emacs.html The menu items allow creating conditional bindings. Also, it will be great if which-key extracts and shows the text from the...

I did some research and it looks like the menu-item support works fine but the :filter support is not in place: ``` elisp (define-key global-map (kbd "C-c C-l r l")...

Please ignore 2 previous comments, it was actually an issue with my code, the correct way to define menu-item is like that: ``` (define-key global-map (kbd "C-c C-l r X")...

@noctuid I think that you are supposed to return a menu-item from the filter function

Sure: https://github.com/emacs-lsp/lsp-ui/ . Also, I am planning to extend `lsp-mode` to provide `code lenses` (similar to what VSCode has) but it would be bad if you cannot hit them via...

> Is your idea to use an overlay to, for example, show references for some function (just one example use of a code lens I believe)? And if so would...

Thanks for the detailed answer! > In that case, you could potentially set up some keybindings for scrolling through or selecting specific candidates at that point. I don't want to...

I have no experience with vscode either, I am only exploring the functionality and working on porting in in emacs. As a side note, the lenses could display a lot...

> Avy could maybe instead have a display function that temporarily altered existing overlays to show the avy selection keys. If you wanted to potentially put avy overlays at both...