-
Notifications
You must be signed in to change notification settings - Fork 53
Configuration
Bruce D'Arcus edited this page Dec 8, 2021
·
38 revisions
Bind the keymap to embark-act
like so:
(add-to-list 'embark-keymap-alist '(bib-reference . citar-map))
A flat list of standard Emacs commands plus Embark gives a lot of flexibility.
If you come from helm-bibtex
or ivy-bibtex
and crave a shorter entry point, however, the simple solution is to define an alias to what you'd like to be your default command; like:
(defalias 'my/cite 'citar-insert-citation)
You have, again, options.
You can setup the default prompter per the embark README.
This commit also adds an option to use prefix completion.
This variable will configure which-key to sort the bindings so the bibtex-action ones are grouped first.
(setq which-key-sort-order 'which-key-description-order)
For marking candidates in the embark-collect
buffer.
TODO Still need code to bind this to embark.
This allows you to bypass the embark-act
command and invoke actions directly within a collect buffer.