summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-07-13 13:31:20 +0100
committerMatthew Lemon <y@yulqen.org>2024-07-13 13:31:20 +0100
commit1d8aa4a99f36131dae612d5ba57658e5366837f7 (patch)
treec0ebb7566a89a68d83c8eb85c53f3db2051e44ef
parent5f9cb6b5ba140b8cdeb363623a78e24f14d7e325 (diff)
parentd35bd3c0c2392bb636988e257afd4c148f599c22 (diff)
Merge branch 'master' of git.sr.ht:~yulqen/emacs
-rw-r--r--init.el21
1 files changed, 18 insertions, 3 deletions
diff --git a/init.el b/init.el
index 9ebc593..ddb8a1c 100644
--- a/init.el
+++ b/init.el
@@ -385,6 +385,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
@@ -1597,11 +1611,12 @@ If failed try to complete the common part with `company-complete-common'"
(tags-todo "-SCHEDULED>=\"<today>\"&TODO=\"NEXT\""
((org-agenda-overriding-header "MOD NEXT UNSCHEDULED")
(org-agenda-sorting-strategy '(deadline-up priority-down))))
- (tags-todo "TODO=\"PROJECT\"" ((org-agenda-overriding-header "Projects")))
+ (tags-todo "TODO=\"PROJECT\"" ((org-agenda-overriding-header "Projects")
+ (org-agenda-sorting-strategy '(alpha-up))))
(tags-todo "TODO=\"NEXT\"" ((org-agenda-overriding-header "All Next Actions")
- (org-agenda-sorting-strategy '(deadline-up scheduled-down priority-down))))
+ (org-agenda-sorting-strategy '(alpha-up deadline-up scheduled-down priority-down))))
(tags-todo "TODO=\"TODO\"" ((org-agenda-overriding-header "TODO")
- (org-agenda-sorting-strategy '(deadline-up)))))
+ (org-agenda-sorting-strategy '(alpha-up)))))
((org-agenda-category-filter-preset '("+MOD" "+Proj/Task" "+radcal" "+radcal_alt" "+Meeting" "+WorkTrip" "+refile"))))
("h" "Home"