Remove some packages, fix some configs
Remove khal.el and org-modern to match nix changes Fix capture template for reading list, rename file to reading.org Add Org/calendar files to org-agenda (switch from calendar.org to calendar files in calendar directory) Fix (hopefully) setting up org-alert
This commit is contained in:
parent
fd8443b53d
commit
f57a78e9dd
29
README.org
29
README.org
|
@ -524,13 +524,6 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
(keymap-global-set "C-c o a" #'org-agenda)
|
||||
(keymap-global-set "C-c o n" #'org-capture)
|
||||
(keymap-global-set "C-c o l" #'org-capture-goto-last-stored)
|
||||
|
||||
(use-package org-modern
|
||||
:ensure t
|
||||
:hook ((org-mode . org-modern-mode)
|
||||
(org-agenda-finalize . org-modern-agenda))
|
||||
:custom
|
||||
(org-modern-tag nil))
|
||||
#+end_src
|
||||
|
||||
** org-agenda
|
||||
|
@ -539,6 +532,7 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
org-agenda-start-on-weekday 1
|
||||
org-agenda-files (list (expand-file-name org-directory)
|
||||
(expand-file-name "journal" org-directory)
|
||||
(expand-file-name "calendar" org-directory)
|
||||
(expand-file-name "projects" org-directory))
|
||||
org-agenda-sticky nil
|
||||
org-agenda-window-setup 'current-window
|
||||
|
@ -553,7 +547,9 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
#+begin_src emacs-lisp
|
||||
(use-package org-alert
|
||||
:ensure t
|
||||
:after alert)
|
||||
:after alert
|
||||
:config
|
||||
(org-alert-enable))
|
||||
#+end_src
|
||||
** org-journal
|
||||
#+BEGIN_SRC emacs-lisp :results output silent
|
||||
|
@ -564,7 +560,6 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
(org-journal-file-type 'monthly)
|
||||
(org-journal-file-format "%Y-%m.org"))
|
||||
#+END_SRC
|
||||
|
||||
** Capture templates
|
||||
#+BEGIN_SRC emacs-lisp :results output silent
|
||||
(setq org-capture-templates
|
||||
|
@ -576,7 +571,7 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
"* TODO %?"
|
||||
:prepend t)
|
||||
("r" "Reading List" entry
|
||||
(file+headline "readling_list.org" "Inbox")
|
||||
(file+headline "reading.org" "Inbox")
|
||||
"* %?")
|
||||
("m" "Email Workflow")
|
||||
("mf" "Follow Up" entry (file+olp "mail.org" "Follow Up")
|
||||
|
@ -642,20 +637,6 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
|||
citar-indicator-cited-icons)))
|
||||
#+end_src
|
||||
|
||||
** Khalel
|
||||
#+begin_src emacs-lisp :results output silent
|
||||
(use-package khalel
|
||||
:demand
|
||||
:hook (org-agenda-mode . khalel-import-events)
|
||||
:config
|
||||
(khalel-add-capture-template "e")
|
||||
:custom
|
||||
(khalel-import-org-file (expand-file-name "calendar.org" org-directory))
|
||||
(khalel-import-org-file-read-only nil)
|
||||
(khalel-import-org-file-confirm-overwrite nil)
|
||||
(khalel-import-start-date "-30d")
|
||||
(khalel-import-end-date "+30d"))
|
||||
#+end_src
|
||||
** TODO Crafted config
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
||||
|
|
Loading…
Reference in a new issue