practicalli / spacemacs

Content for the book - Clojure Development with Spacemacs
https://practical.li/spacemacs
Creative Commons Attribution Share Alike 4.0 International
109 stars 33 forks source link

Numbered auto-completion popup #265

Open practicalli-johnny opened 3 years ago

practicalli-johnny commented 3 years ago

Emacs autocompletion tip: you can quickly select any of 10 first Company candidates if you set:

(setq company-show-numbers t) https://t.co/za72RD7THR

In Spacemacs the command is bound to . Because I use Ivy it calls counsel-yank-pop. If I remember it right, for a Helm user it would call helm-show-kill-ring. But I think that's not what you're asking. It displays it like that because I use posframe and Ivy-posframe It looks like this. However, I wouldn't recommend jumping in setting it up like that. I just did this and very much experimenting with it. There are certain issues. But if you want to give it a try, sure I can give you a few pointers. https://t.co/u27K41LYOe