feat(emacs): multi-projection
This commit is contained in:
@@ -39,28 +39,37 @@
|
||||
;; Projection provides a Projectile-like project management library atop
|
||||
;; Emacs built-in project.el. It's more lightweight, while still featureful.
|
||||
(use-package projection
|
||||
:straight (:type git
|
||||
:host github
|
||||
:repo "msyds/projection"
|
||||
:files (:defaults "src/*.el"))
|
||||
;; Enable the `projection-hook' feature.
|
||||
:hook (after-init . global-projection-hook-mode)
|
||||
:general (:keymaps 'syd-leader-project-map
|
||||
"R" #'projection-commands-run-project)
|
||||
;; Require projections immediately after project.el.
|
||||
:config
|
||||
(with-eval-after-load 'project
|
||||
(require 'projection)))
|
||||
"R" #'projection-commands-run-project
|
||||
"M" #'projection-multi-compile
|
||||
"T" #'projection-commands-test-project))
|
||||
|
||||
;; Allow interactively selecting available compilation targets from the
|
||||
;; current project type.
|
||||
(use-package projection-multi
|
||||
:after projection
|
||||
:straight (:type git
|
||||
:host github
|
||||
:repo "msyds/projection"
|
||||
:files (:defaults "src/projection-multi/*.el"))
|
||||
:general (:keymaps 'syd-leader-project-map
|
||||
"M" #'projection-multi-projection))
|
||||
"M" #'projection-multi-compile)
|
||||
:after projection
|
||||
:config
|
||||
(require 'projection-multi-bb)
|
||||
(setq projection-multi-bb-executable (executable-find "bb")))
|
||||
|
||||
;; Embark integration for projection-multi.
|
||||
(use-package projection-multi-embark
|
||||
:after (embark projection-multi)
|
||||
;; Add the projection set-command bindings to
|
||||
;; `compile-multi-embark-command-map'.
|
||||
:config (projection-multi-embark-setup-command-map))
|
||||
;; ;; Embark integration for projection-multi.
|
||||
;; (use-package projection-multi-embark
|
||||
;; :after (embark projection-multi)
|
||||
;; ;; Add the projection set-command bindings to
|
||||
;; ;; `compile-multi-embark-command-map'.
|
||||
;; :config (projection-multi-embark-setup-command-map))
|
||||
|
||||
(use-package skeletor
|
||||
:commands (skeletor-create-project-at skeletor-create-project)
|
||||
|
||||
Reference in New Issue
Block a user