Files
sydnix/users/crumb/programs/emacs/modules/syd-projects.el
Madeleine Sydney 95e591a144 feat: Project management
I might switch back to Projectile later. }:\
2025-01-17 16:28:45 -07:00

32 lines
1.0 KiB
EmacsLisp

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