feat: Project management
I might switch back to Projectile later. }:\
This commit is contained in:
31
users/crumb/programs/emacs/modules/syd-projects.el
Normal file
31
users/crumb/programs/emacs/modules/syd-projects.el
Normal file
@@ -0,0 +1,31 @@
|
||||
;;; syd-projects.el -*- lexical-binding: t; -*-
|
||||
|
||||
(require 'syd-constants)
|
||||
|
||||
(use-package project
|
||||
:custom ((project-list-file (file-name-concat syd-cache-dir
|
||||
"known-projects"))))
|
||||
|
||||
;; Projection provides a Projectile-like project management library atop
|
||||
;; Emacs built-in project.el. It's more lightweight, while still featureful.
|
||||
(use-package projection
|
||||
;; Enable the `projection-hook' feature.
|
||||
:hook (after-init . global-projection-hook-mode)
|
||||
;; Require projections immediately after project.el.
|
||||
:config
|
||||
(with-eval-after-load 'project
|
||||
(require 'projection)))
|
||||
|
||||
;; Allow interactively selecting available compilation targets from the
|
||||
;; current project type.
|
||||
(use-package projection-multi
|
||||
:after projection)
|
||||
|
||||
;; 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))
|
||||
|
||||
(provide 'syd-projects)
|
||||
Reference in New Issue
Block a user