diff --git a/.config/doom/config.el b/.config/doom/config.el index 6bda385..841176f 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -280,15 +280,14 @@ (map! :leader :desc "Org babel tangle" "m B" #'org-babel-tangle) (after! org - ;;(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))) (setq org-directory "~/nc/Org/" org-agenda-files '("~/nc/Org/agenda.org") org-default-notes-file (expand-file-name "notes.org" org-directory) org-ellipsis " ▼ " + org-superstar-headline-bullets-list '("◉" "●" "○" "◆" "●" "○" "◆") + org-superstar-item-bullet-alist '((?+ . ?➤) + (?- . ?✦)) org-log-done 'time - org-journal-dir "~/nc/Org/journal/" - org-journal-date-format "%B %d, %Y (%A) " - org-journal-file-format "%Y-%m-%d.org" org-hide-emphasis-markers t ;; ex. of org-link-abbrev-alist in action ;; [[arch-wiki:Name_of_Page][Description]] @@ -319,7 +318,12 @@ (use-package ox-man) (use-package ox-gemini) -(use-package ox-publish) + +(setq org-journal-dir "~/nc/Org/journal/" + org-journal-date-prefix "* " + org-journal-time-prefix "** " + org-journal-date-format "%B %d, %Y (%A) " + org-journal-file-format "%Y-%m-%d.org") (setq org-publish-use-timestamps-flag nil) (setq org-export-with-broken-links t) diff --git a/.config/doom/config.org b/.config/doom/config.org index 6f088a7..afdf104 100644 --- a/.config/doom/config.org +++ b/.config/doom/config.org @@ -32,6 +32,7 @@ - [[#org-mode][ORG MODE]] - [[#set-font-sizes-for-each-header-level-in-org][Set font sizes for each header level in Org]] - [[#org-export][Org-export]] + - [[#org-journal][Org-journal]] - [[#org-publish][Org-publish]] - [[#org-roam][Org-roam]] - [[#password-store][PASSWORD STORE]] @@ -517,7 +518,7 @@ Keybindings to open files that I work with all the time using the find-file comm #+END_SRC * ORG MODE -I wrapped most of this block in (after! org). Without this, my settings might be evaluated too early, which will result in my settings being overwritten by Doom's defaults. I have also enabled org-bullets, org-journal and org-roam by adding (+journal +pretty +roam) to the org section of my Doom Emacs init.el. +I wrapped most of this block in (after! org). Without this, my settings might be evaluated too early, which will result in my settings being overwritten by Doom's defaults. I have also enabled org-journal, org-superstar and org-roam by adding (+journal +pretty +roam) to the org section of my Doom Emacs init.el. =NOTE:= I have the location of my Org directory and Roam directory in $HOME/nc/ which is a Nextcloud folder that allows me to instantly sync all of my Org work between my home computer and my office computer. @@ -525,15 +526,14 @@ I wrapped most of this block in (after! org). Without this, my settings might b (map! :leader :desc "Org babel tangle" "m B" #'org-babel-tangle) (after! org - ;;(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))) (setq org-directory "~/nc/Org/" org-agenda-files '("~/nc/Org/agenda.org") org-default-notes-file (expand-file-name "notes.org" org-directory) org-ellipsis " ▼ " + org-superstar-headline-bullets-list '("◉" "●" "○" "◆" "●" "○" "◆") + org-superstar-item-bullet-alist '((?+ . ?➤) + (?- . ?✦)) org-log-done 'time - org-journal-dir "~/nc/Org/journal/" - org-journal-date-format "%B %d, %Y (%A) " - org-journal-file-format "%Y-%m-%d.org" org-hide-emphasis-markers t ;; ex. of org-link-abbrev-alist in action ;; [[arch-wiki:Name_of_Page][Description]] @@ -567,13 +567,24 @@ I wrapped most of this block in (after! org). Without this, my settings might b #+end_src ** Org-export -We need ox-man for "Org eXporting" to manpage format, ox-gemini for exporting to gemtext, and ox-publish for converting an Org site into an HTML site. +We need ox-man for "Org eXporting" to manpage format and ox-gemini for exporting to gemtext (for the gemini protocol). + +=NOTE:= I also enable ox-publish for converting an Org site into an HTML site, but that is done in init.el (org +publish). + #+BEGIN_SRC emacs-lisp (use-package ox-man) (use-package ox-gemini) -(use-package ox-publish) #+END_SRC +** Org-journal +#+begin_src emacs-lisp +(setq org-journal-dir "~/nc/Org/journal/" + org-journal-date-prefix "* " + org-journal-time-prefix "** " + org-journal-date-format "%B %d, %Y (%A) " + org-journal-file-format "%Y-%m-%d.org") +#+end_src + ** Org-publish #+begin_src emacs-lisp (setq org-publish-use-timestamps-flag nil) diff --git a/.config/doom/init.el b/.config/doom/init.el index 6a8ec0a..e61f50c 100644 --- a/.config/doom/init.el +++ b/.config/doom/init.el @@ -146,7 +146,11 @@ ;;nim ; python + lisp at the speed of c ;;nix ; I hereby declare "nix geht mehr!" ;;ocaml ; an objective camel - (org +journal +pretty +roam) ; organize your plain life in plain text + (org + +journal ; enable org journal + +pretty ; replace asterisks with pretty org bullets + +publish ; create static websites with org + +roam2) ; org roam v2 php ; perl's insecure younger brother ;;plantuml ; diagrams for confusing people more ;;purescript ; javascript, but functional diff --git a/.config/doom/packages.el b/.config/doom/packages.el index 1aaf69f..76d9ded 100644 --- a/.config/doom/packages.el +++ b/.config/doom/packages.el @@ -67,7 +67,6 @@ (package! emojify) (package! evil-tutor) (package! ivy-posframe) -(package! org-bullets) (package! ox-gemini) (package! peep-dired) (package! password-store)