feat: Project management

I might switch back to Projectile later. }:\
This commit is contained in:
Madeleine Sydney
2025-01-16 13:04:43 -07:00
parent 3bc75e3a25
commit 95e591a144
5 changed files with 55 additions and 6 deletions

View 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)