From 5cf075917dd0c853e211619f733860d4a0ed9eac Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 12 Jul 2024 08:41:29 +0100 Subject: Changing the order of things in the agenda dispatcher --- init.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index 3d90825..fb7b500 100644 --- a/init.el +++ b/init.el @@ -1488,11 +1488,12 @@ If failed try to complete the common part with `company-complete-common'" (tags-todo "-SCHEDULED>=\"\"&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" -- cgit v1.2.3 From d35bd3c0c2392bb636988e257afd4c148f599c22 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 12 Jul 2024 08:41:51 +0100 Subject: Adds projectile and direnv packages --- init.el | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- cgit v1.2.3