selectrum: embark changes...

- move `marginalia-cycle` binding to `M-A` as it doesn'r work as an
embark action.
- add popup rule to Embark Collect buffers
This commit is contained in:
Itai Y. Efrat 2021-05-23 16:00:39 +03:00
parent 36faa0c258
commit f29f6beec2

View file

@ -34,8 +34,11 @@
(map! :map selectrum-minibuffer-map
"C-;" #'embark-act
"C-c C-;" #'embark-export
:desc "Export to writable buffer"
"C-c C-e" #'+selectrum/embark-export-write
[backspace] #'+selectrum/backward-updir))
[backspace] #'+selectrum/backward-updir
:desc "Cycle marginalia views"
"M-A" #'marginalia-cycle))
(use-package! selectrum-prescient
:when (featurep! +prescient)
@ -128,10 +131,9 @@
:map embark-file-map
:desc "Open Dired on target" "j" #'ffap-dired
:desc "Open target with sudo" "s" #'sudo-edit
:desc "Open target with vlf" "l" #'vlf
:map embark-file-map
:desc "Cycle marginalia views" "A" #'marginalia-cycle)
(set-popup-rule! "^\\*Embark Export" :size 0.35 :ttl 0 :quit nil))
:desc "Open target with vlf" "l" #'vlf)
(set-popup-rule! "^\\*Embark Export" :size 0.35 :ttl 0 :quit nil)
(set-popup-rule! "^\\*Embark Collect" :size 0.35 :ttl 0 :quit nil))
(use-package! marginalia
:hook (doom-first-input . marginalia-mode)