diff options
author | Case Duckworth | 2022-01-06 23:21:59 -0600 |
---|---|---|
committer | Case Duckworth | 2022-01-06 23:21:59 -0600 |
commit | f0f031fafef6fabc84cff4a427ba08c1f48291d0 (patch) | |
tree | 15251fc591613a3260aba42f90abf5ac8948d29e /lisp | |
parent | Lots of other changes (diff) | |
download | emacs-f0f031fafef6fabc84cff4a427ba08c1f48291d0.tar.gz emacs-f0f031fafef6fabc84cff4a427ba08c1f48291d0.zip |
Begin customizing embark
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 | ||