refactor!(vertico): fix embark-collect and rebind to C-c C-l

BREAKING CHANGE: `embark-collect-snapshot` has been renamed upstream to
`embark-collect`. Since the `C-s` mnemonic doesn't really make sense
anymore, I've moved the binding to `C-c C-l`, which has the nice bonus
of being next to the similar `C-c C-;`, and being nicer.
This commit is contained in:
Itai Y. Efrat 2022-04-09 15:23:16 +03:00 committed by Henrik Lissner
parent 7121e993ca
commit fd50f388a4
2 changed files with 2 additions and 2 deletions

View file

@ -87,7 +87,7 @@ keybindings are available:
| =C-M-j= | (evil) Go to next group | | =C-M-j= | (evil) Go to next group |
| =C-;= or =<leader> a= | Open an ~embark-act~ menu to chose a useful action | | =C-;= or =<leader> a= | Open an ~embark-act~ menu to chose a useful action |
| =C-c C-;= | ~embark-export~ the current candidate list (export to a type-specific buffer) | | =C-c C-;= | ~embark-export~ the current candidate list (export to a type-specific buffer) |
| =C-c C-s= | ~embark-collect-snapsnot~ the current candidate list (collect verbatim) | | =C-c C-l= | ~embark-collect~ the current candidate list (collect verbatim) |
| =C-SPC= | Preview the current candidate | | =C-SPC= | Preview the current candidate |
~embark-act~ will prompt you with a =which-key= menu with useful commands on the ~embark-act~ will prompt you with a =which-key= menu with useful commands on the

View file

@ -173,7 +173,7 @@ orderless."
(:map minibuffer-local-map (:map minibuffer-local-map
"C-;" #'embark-act "C-;" #'embark-act
"C-c C-;" #'embark-export "C-c C-;" #'embark-export
"C-c C-s" #'embark-collect-snapshot "C-c C-l" #'embark-collect
:desc "Export to writable buffer" "C-c C-e" #'+vertico/embark-export-write) :desc "Export to writable buffer" "C-c C-e" #'+vertico/embark-export-write)
(:leader (:leader
:desc "Actions" "a" #'embark-act)) ; to be moved to :config default if accepted :desc "Actions" "a" #'embark-act)) ; to be moved to :config default if accepted