summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-07-12 08:41:51 +0100
committerMatthew Lemon <y@yulqen.org>2024-07-12 08:42:09 +0100
commitd35bd3c0c2392bb636988e257afd4c148f599c22 (patch)
tree38d6f0b3d744690ef4834920b7521728f01da658
parent5cf075917dd0c853e211619f733860d4a0ed9eac (diff)
Adds projectile and direnv packages
-rw-r--r--init.el14
1 files changed, 14 insertions, 0 deletions
diff --git a/init.el b/init.el
index fb7b500..4e4e4b9 100644
--- a/init.el
+++ b/init.el
@@ -274,6 +274,20 @@ Restart works only on graphic display."
;; (load-theme 'ef-elea-dark t)
;; (load-theme 'gruber-darker t)
+;; Install and configure projectile
+(use-package projectile
+ :ensure t
+ :init
+ (projectile-mode +1)
+ (setq projectile-project-search-path '("~/code"))
+ ;; Optionally set projectile keymap prefix
+ (define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map))
+
+;; use this for .envrc files in project directories
+(use-package direnv
+ :ensure t
+ :config
+ (direnv-mode))
;; org-caldav
(use-package org-caldav