diff options
author | Marc Coquand <marc@mccd.space> | 2024-11-21 20:43:53 +0200 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-11-21 20:43:53 +0200 |
commit | 116f33578791b9645d1cb76fbca2be4d77b36af4 (patch) | |
tree | 05dcfc460beac5e0781edc6a79166244ec1e2f52 | |
parent | 45eb696bdd8669500d261b34ec7501ccdaf7f186 (diff) | |
download | guix-main.tar.gz guix-main.tar.bz2 guix-main.zip |
Diffstat (limited to '')
-rw-r--r-- | home/dots/.emacs | 23 | ||||
-rw-r--r-- | home/dots/.emacs.d/BOGO-theme.el | 4 |
2 files changed, 18 insertions, 9 deletions
diff --git a/home/dots/.emacs b/home/dots/.emacs index ee5952e..aee55ea 100644 --- a/home/dots/.emacs +++ b/home/dots/.emacs @@ -218,9 +218,11 @@ (use-package project :ensure t + :bind + (:map project-prefix-map + ("b" . project-list-buffers)) :config (add-to-list 'project-switch-commands '(project-list-buffers "Buffers")) - (define-key project-prefix-map (kbd "b") 'project-list-buffers) (add-to-list 'project-switch-commands '(project-kill-buffers "Kill Buffers")) (add-to-list 'project-switch-commands '(project-shell "Shell"))) @@ -882,6 +884,9 @@ (org-todo-keywords '((sequence "TODO(t)" "|" "DONE(d)") (sequence "UNREAD(u)" "READING(e)" "|" "READ(r)"))) + (org-agenda-custom-commands + '(("t" todo "TODO") + ("p" tags-todo "+piva"))) (org-priority-lowest ?E) (org-priority-faces '((?A . (:weight bold :inherit org-priority)) (?D . (:foreground "gray50" :inherit org-priority)) @@ -943,9 +948,13 @@ :custom (org-capture-templates '(("t" "Todo" - entry (file "~/personal-db/notes/agenda.org") + entry (file+headline "~/personal-db/notes/notes.org" "Todo") "* TODO %?\n%i\n%a\n " :empty-lines 1) + ("w" "Work Todo" + entry (file+headline "~/personal-db/notes/notes.org" "Todo") + "* TODO %? :piva:\n:PROPERTIES:\n:CATEGORY: PivÄ\n:END:\n%i\n%a\n " + :empty-lines 1) ("b" "Book" entry (file+olp "~/personal-db/notes/notes.org" "References" "Books") "* UNREAD %?\n:PROPERTIES:\n:AUTHOR:\n:END:\n " @@ -960,7 +969,7 @@ :empty-lines 1) ("g" "Log Coffee" entry (file+headline "~/personal-db/notes/notes.org" "Log") - "* Brewed pour-over :coffee:\n:PROPERTIES:\n:WATER: 320g\n:COFFEE: 25g\n:TYPE: [[id:815450d3-d772-4207-9eb4-e1e185fd8356][La Pastora]] | [[id:9d136656-2965-4be9-87cf-4ecafcf62707][Alemayehu]]\n:TEMP: 90\n:RATING:\n:PREHEAT: YES\n:TOTALBREWTIME:\n:END:\n%T\n*** Observations " + "* Brewed pour-over :coffee:cyprus:paramytha:\n:PROPERTIES:\n:WATER: 320g\n:COFFEE: 25g\n:TYPE: [[id:815450d3-d772-4207-9eb4-e1e185fd8356][La Pastora]] | [[id:9d136656-2965-4be9-87cf-4ecafcf62707][Alemayehu]]\n:TEMP: 90\n:RATING:\n:PREHEAT: YES\n:TOTALBREWTIME:\n:END:\n%T\n*** Observations " :empty-lines 0 :prepend t) ("r" "Reference" @@ -968,7 +977,7 @@ "* %?\n%i\n%a\n " :empty-lines 1) ("s" "Schedule" - entry (file "~/personal-db/notes/agenda.org") + entry (file+headline "~/personal-db/notes/notes.org" "Event") "* TODO %?\nSCHEDULED: %^T" :empty-lines 1) ("a" "Article" @@ -977,7 +986,7 @@ :empty-lines 1) ("l" "Log" entry (file+headline "~/personal-db/notes/notes.org" "Log") - "** %?\n%T" + "** %? :cyprus:paramytha:\n%T" :prepend t :empty-lines 0) ("n" "Inbox" @@ -997,8 +1006,8 @@ (org-agenda-files '("/home/mccd/personal-db/notes/cal-ios.org" "/home/mccd/dev/sustainably/README.org" + "/home/mccd/dev/sustainably/exploration.org" "/home/mccd/system/guix.org" - "/home/mccd/personal-db/notes/agenda.org" "/home/mccd/personal-db/notes/notes.org")) (org-agenda-remove-tags t) (org-agenda-inhibit-startup nil) @@ -1180,7 +1189,7 @@ (unless (eq selected-rmail-account prev) ;; First kill all RMAIL buffers to not leave any dangling (kill-matching-buffers "\\.mbox\\|RMAIL"))) - (rmail-no-check)) + (rmail)) :custom (rmail-mime-prefer-html nil) (rmail-displayed-headers "^\\(?:Cc\\|Date\\|From\\|Subject\\|To\\|List-Id\\):")) diff --git a/home/dots/.emacs.d/BOGO-theme.el b/home/dots/.emacs.d/BOGO-theme.el index 31f6760..12d95e8 100644 --- a/home/dots/.emacs.d/BOGO-theme.el +++ b/home/dots/.emacs.d/BOGO-theme.el @@ -76,11 +76,11 @@ '(org-agenda-calendar-event ((t nil))) '(org-drawer ((t nil))) '(org-hide ((t (:foreground "#FFFFF8")))) - '(org-done ((t (:inherit (org-agenda-dimmed-todo-face fixed-pitch) :strike-through t :extend nil :weight bold)))) + '(org-done ((t (:inherit (org-agenda-dimmed-todo-face fixed-pitch) :strike-through nil :extend nil :weight bold)))) '(org-todo ((t (:weight bold :inherit fixed-pitch)))) '(org-checkbox ((t (:weight bold :inherit fixed-pitch)))) '(org-priority ((t (:inherit fixed-pitch)))) - '(org-headline-done ((t (:strike-through t :inherit org-agenda-dimmed-todo-face)))) + '(org-headline-done ((t (:inherit org-agenda-dimmed-todo-face)))) '(org-level-1 ((t (:inherit outline-1 :extend nil :weight regular)))) '(org-tag ((t (:foreground "gray70")))) '(org-time-grid ((t (:foreground "gray")))) |