selectrum: annotate persp-switch-to-buffer

This commit is contained in:
Itai Y. Efrat 2021-04-11 00:48:39 +03:00
parent 1d43c733ea
commit 3c55105622
2 changed files with 3 additions and 2 deletions

View file

@ -6,7 +6,6 @@
* PROJ List of things needed for Ivy parity * PROJ List of things needed for Ivy parity
** TODO Icons ** TODO Icons
https://github.com/minad/marginalia/issues/59 https://github.com/minad/marginalia/issues/59
** TODO display extra information in =SPC b b=
** TODO make backspace work in filepath searching ** TODO make backspace work in filepath searching
In ivy, backspace on =/foo/bar/!= (where =!= is the cursor) leads to =/foo/!= In ivy, backspace on =/foo/bar/!= (where =!= is the cursor) leads to =/foo/!=
In selectrum, it leads to =/foo/bar!= In selectrum, it leads to =/foo/bar!=

View file

@ -94,7 +94,9 @@
(use-package! marginalia (use-package! marginalia
:hook (doom-first-input . marginalia-mode) :hook (doom-first-input . marginalia-mode)
:init :init
(setq-default marginalia-annotators '(marginalia-annotators-heavy))) (setq-default marginalia-annotators '(marginalia-annotators-heavy))
:config
(add-to-list 'marginalia-command-categories '(persp-switch-to-buffer . buffer)))
(use-package! embark-consult (use-package! embark-consult
:after (embark consult) :after (embark consult)