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:
parent
36faa0c258
commit
f29f6beec2
1 changed files with 7 additions and 5 deletions
|
@ -34,8 +34,11 @@
|
||||||
(map! :map selectrum-minibuffer-map
|
(map! :map selectrum-minibuffer-map
|
||||||
"C-;" #'embark-act
|
"C-;" #'embark-act
|
||||||
"C-c C-;" #'embark-export
|
"C-c C-;" #'embark-export
|
||||||
|
:desc "Export to writable buffer"
|
||||||
"C-c C-e" #'+selectrum/embark-export-write
|
"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
|
(use-package! selectrum-prescient
|
||||||
:when (featurep! +prescient)
|
:when (featurep! +prescient)
|
||||||
|
@ -128,10 +131,9 @@
|
||||||
:map embark-file-map
|
:map embark-file-map
|
||||||
:desc "Open Dired on target" "j" #'ffap-dired
|
:desc "Open Dired on target" "j" #'ffap-dired
|
||||||
:desc "Open target with sudo" "s" #'sudo-edit
|
:desc "Open target with sudo" "s" #'sudo-edit
|
||||||
:desc "Open target with vlf" "l" #'vlf
|
:desc "Open target with vlf" "l" #'vlf)
|
||||||
:map embark-file-map
|
(set-popup-rule! "^\\*Embark Export" :size 0.35 :ttl 0 :quit nil)
|
||||||
:desc "Cycle marginalia views" "A" #'marginalia-cycle)
|
(set-popup-rule! "^\\*Embark Collect" :size 0.35 :ttl 0 :quit nil))
|
||||||
(set-popup-rule! "^\\*Embark Export" :size 0.35 :ttl 0 :quit nil))
|
|
||||||
|
|
||||||
(use-package! marginalia
|
(use-package! marginalia
|
||||||
:hook (doom-first-input . marginalia-mode)
|
:hook (doom-first-input . marginalia-mode)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue