Formatting

This commit is contained in:
James Patrick 2024-02-05 09:59:38 -05:00
parent f2d6f3397b
commit c79a6ede22
No known key found for this signature in database
2 changed files with 18 additions and 22 deletions

View File

@ -6,16 +6,14 @@
(custom-set-variables '(org-directory "~/org/")) (custom-set-variables '(org-directory "~/org/"))
(setq (setq org-download-image-dir (concat org-directory ".attach/"))
org-download-image-dir (concat org-directory ".attach/"))
(setq (setq org-roam-directory (concat org-directory "Roam/"))
org-roam-directory (concat org-directory "Roam/"))
(setq org-agenda-files (list (concat org-directory "Todos/" ))) (setq org-agenda-files (list (concat org-directory "Todos/" )))
(defvar-local +org-capture-work-todo-file (defvar-local +org-capture-work-todo-file
(expand-file-name "Work/todo.org" org-directory)) (expand-file-name "Work/todo.org" org-directory))
(add-to-list 'org-capture-templates (add-to-list 'org-capture-templates
'("w" "Work Todo" entry '("w" "Work Todo" entry
(file+headline +org-capture-work-todo-file "Inbox") (file+headline +org-capture-work-todo-file "Inbox")
@ -32,12 +30,12 @@
(0.0 . org-upcoming-distant-deadline))) (0.0 . org-upcoming-distant-deadline)))
(add-hook 'org-mode-hook (lambda () (add-hook 'org-mode-hook (lambda ()
"Beautify Org Checkbox Symbol"` "Beautify Org Checkbox Symbol"`
(push '("[ ]" . "") prettify-symbols-alist) (push '("[ ]" . "") prettify-symbols-alist)
(push '("[_]" . "") prettify-symbols-alist) (push '("[_]" . "") prettify-symbols-alist)
(push '("[X]" . "" ) prettify-symbols-alist) (push '("[X]" . "" ) prettify-symbols-alist)
(push '("[-]" . "" ) prettify-symbols-alist) (push '("[-]" . "" ) prettify-symbols-alist)
(prettify-symbols-mode))) (prettify-symbols-mode)))
(setq prettify-symbols-unprettify-at-point 'right-edge) (setq prettify-symbols-unprettify-at-point 'right-edge)

View File

@ -645,8 +645,7 @@ Where old files go. See =org-archive-subtree= for more.
Stuff that is not an orgmode document. Stuff that is not an orgmode document.
#+begin_src emacs-lisp :tangle "+orgmode.el" :noweb no-export :comments no #+begin_src emacs-lisp :tangle "+orgmode.el" :noweb no-export :comments no
(setq (setq org-download-image-dir (concat org-directory ".attach/"))
org-download-image-dir (concat org-directory ".attach/"))
#+end_src #+end_src
*** =Projects= *** =Projects=
@ -655,8 +654,7 @@ I keep a =todo.org= at the root of each project. These are symlinked into the Pr
*** =Roam= *** =Roam=
All roam docs go here. This is my default note taking system. All roam docs go here. This is my default note taking system.
#+begin_src emacs-lisp :tangle "+orgmode.el" :noweb no-export :comments no #+begin_src emacs-lisp :tangle "+orgmode.el" :noweb no-export :comments no
(setq (setq org-roam-directory (concat org-directory "Roam/"))
org-roam-directory (concat org-directory "Roam/"))
#+end_src #+end_src
*** =Todo= *** =Todo=
Another symlink dir. This is used to populate org agenda files. Another symlink dir. This is used to populate org agenda files.
@ -675,7 +673,7 @@ I still want to capture work related notes where ever I am though.
#+begin_src emacs-lisp :tangle "+orgmode.el" :noweb no-export :comments no #+begin_src emacs-lisp :tangle "+orgmode.el" :noweb no-export :comments no
(defvar-local +org-capture-work-todo-file (defvar-local +org-capture-work-todo-file
(expand-file-name "Work/todo.org" org-directory)) (expand-file-name "Work/todo.org" org-directory))
(add-to-list 'org-capture-templates (add-to-list 'org-capture-templates
'("w" "Work Todo" entry '("w" "Work Todo" entry
(file+headline +org-capture-work-todo-file "Inbox") (file+headline +org-capture-work-todo-file "Inbox")
@ -706,12 +704,12 @@ This uses =doom-variable-pitch-font= as defined in the font section.
There is a few of these built into the =orgmode='s =+pretty= module. Checkboxes are not included so lets include it. There is a few of these built into the =orgmode='s =+pretty= module. Checkboxes are not included so lets include it.
#+begin_src emacs-lisp :tangle "+orgmode.el" :noweb no-export :comments no #+begin_src emacs-lisp :tangle "+orgmode.el" :noweb no-export :comments no
(add-hook 'org-mode-hook (lambda () (add-hook 'org-mode-hook (lambda ()
"Beautify Org Checkbox Symbol"` "Beautify Org Checkbox Symbol"`
(push '("[ ]" . "☐") prettify-symbols-alist) (push '("[ ]" . "☐") prettify-symbols-alist)
(push '("[_]" . "☐") prettify-symbols-alist) (push '("[_]" . "☐") prettify-symbols-alist)
(push '("[X]" . "☑" ) prettify-symbols-alist) (push '("[X]" . "☑" ) prettify-symbols-alist)
(push '("[-]" . "⊟" ) prettify-symbols-alist) (push '("[-]" . "⊟" ) prettify-symbols-alist)
(prettify-symbols-mode))) (prettify-symbols-mode)))
#+end_src #+end_src
And when you hover over it, disable it. And when you hover over it, disable it.