From f0f031fafef6fabc84cff4a427ba08c1f48291d0 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 6 Jan 2022 23:21:59 -0600 Subject: Begin customizing embark --- lisp/+embark.el | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 lisp/+embark.el (limited to 'lisp') 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 @@ +;;; +embark.el -*- lexical-binding: t; -*- + +;;; Commentary: + +;; https://github.com/oantolin/embark/wiki/Additional-Actions + +;;; Code: + +(require 'embark) +(require 'marginalia) + +(embark-define-keymap embark-straight-map + ("u" straight-visit-package-website) + ("r" straight-get-recipe) + ("i" straight-use-package) + ("c" straight-check-package) + ("F" straight-pull-package) + ("f" straight-fetch-package) + ("p" straight-push-package) + ("n" straight-normalize-package) + ("m" straight-merge-package)) + +(add-to-list 'embark-keymap-alist '(straight . embark-straight-map)) + +(add-to-list 'marginalia-prompt-categories '("recipe\\|package" . straight)) + +(provide '+embark) +;;; +embark.el ends here -- cgit 1.4.1-21-gabe81