SELECTRUM–KEY FEATURES AND TWEAKS
Settings
(selectrum-mode +1) (selectrum-prescient-mode +1)
Note Selectrum is replaced:
That said, I still find it useful for its simplicity.
Note One no longer has to use Selectrum with Prescient. This is because history-based sorting has now been added to Selectrum! What is the difference? Sorting by history in Selectrum is basic. Recent candidates from the history appear before other candidates. Prescient uses a more sophisticated frecency-based computation (combines frequency and recency–to be distinguished).
Note Selectrum makes use of regular minibuffer commands in Emacs and enhances these–minimalist approach.
Keys
C-i/TAB
complete, insert and proceed
RET/C-m
select current candidate and submit (i.e. execute)
M-i
toggles and inserts a candidate with quick keys (which is most useful in file completions)
M-m
submits a candidate using quick keys.
Selectrum also offers prompts with partial input for quickly finding some long or difficult path
Tedious always typing .emacs.d/packages/ ~/.e/p/
One can toggle between vertical/horizontal display styles
M-q
Use up/down arrows
One can brose history using M-r
Also, M-p M-n
previous/next-history-element
Variables to customise
By default completion candidates appear within the minibuffer display. One can display candidates outside the minibuffer!
Customise selectrum-display-action
Conclusion
The program is simple and useful. It makes one's life easy–and you feel like you are in Emacs, not some other program!