diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/+embark.el | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lisp/+embark.el b/lisp/+embark.el new file mode 100644 index 0000000..3900492 --- /dev/null +++ b/lisp/+embark.el | |||
@@ -0,0 +1,28 @@ | |||
1 | ;;; +embark.el -*- lexical-binding: t; -*- | ||
2 | |||
3 | ;;; Commentary: | ||
4 | |||
5 | ;; https://github.com/oantolin/embark/wiki/Additional-Actions | ||
6 | |||
7 | ;;; Code: | ||
8 | |||
9 | (require 'embark) | ||
10 | (require 'marginalia) | ||
11 | |||
12 | (embark-define-keymap embark-straight-map | ||
13 | ("u" straight-visit-package-website) | ||
14 | ("r" straight-get-recipe) | ||
15 | ("i" straight-use-package) | ||
16 | ("c" straight-check-package) | ||
17 | ("F" straight-pull-package) | ||
18 | ("f" straight-fetch-package) | ||
19 | ("p" straight-push-package) | ||
20 | ("n" straight-normalize-package) | ||
21 | ("m" straight-merge-package)) | ||
22 | |||
23 | (add-to-list 'embark-keymap-alist '(straight . embark-straight-map)) | ||
24 | |||
25 | (add-to-list 'marginalia-prompt-categories '("recipe\\|package" . straight)) | ||
26 | |||
27 | (provide '+embark) | ||
28 | ;;; +embark.el ends here | ||