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/"))
(setq
org-download-image-dir (concat org-directory ".attach/"))
(setq org-download-image-dir (concat org-directory ".attach/"))
(setq
org-roam-directory (concat org-directory "Roam/"))
(setq org-roam-directory (concat org-directory "Roam/"))
(setq org-agenda-files (list (concat org-directory "Todos/" )))
(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
'("w" "Work Todo" entry
(file+headline +org-capture-work-todo-file "Inbox")
@ -32,12 +30,12 @@
(0.0 . org-upcoming-distant-deadline)))
(add-hook 'org-mode-hook (lambda ()
"Beautify Org Checkbox Symbol"`
(push '("[ ]" . "") prettify-symbols-alist)
(push '("[_]" . "") prettify-symbols-alist)
(push '("[X]" . "" ) prettify-symbols-alist)
(push '("[-]" . "" ) prettify-symbols-alist)
(prettify-symbols-mode)))
"Beautify Org Checkbox Symbol"`
(push '("[ ]" . "") prettify-symbols-alist)
(push '("[_]" . "") prettify-symbols-alist)
(push '("[X]" . "" ) prettify-symbols-alist)
(push '("[-]" . "" ) prettify-symbols-alist)
(prettify-symbols-mode)))
(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.
#+begin_src emacs-lisp :tangle "+orgmode.el" :noweb no-export :comments no
(setq
org-download-image-dir (concat org-directory ".attach/"))
(setq org-download-image-dir (concat org-directory ".attach/"))
#+end_src
*** =Projects=
@ -655,8 +654,7 @@ I keep a =todo.org= at the root of each project. These are symlinked into the Pr
*** =Roam=
All roam docs go here. This is my default note taking system.
#+begin_src emacs-lisp :tangle "+orgmode.el" :noweb no-export :comments no
(setq
org-roam-directory (concat org-directory "Roam/"))
(setq org-roam-directory (concat org-directory "Roam/"))
#+end_src
*** =Todo=
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
(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
'("w" "Work Todo" entry
(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.
#+begin_src emacs-lisp :tangle "+orgmode.el" :noweb no-export :comments no
(add-hook 'org-mode-hook (lambda ()
"Beautify Org Checkbox Symbol"`
(push '("[ ]" . "☐") prettify-symbols-alist)
(push '("[_]" . "☐") prettify-symbols-alist)
(push '("[X]" . "☑" ) prettify-symbols-alist)
(push '("[-]" . "⊟" ) prettify-symbols-alist)
(prettify-symbols-mode)))
"Beautify Org Checkbox Symbol"`
(push '("[ ]" . "☐") prettify-symbols-alist)
(push '("[_]" . "☐") prettify-symbols-alist)
(push '("[X]" . "☑" ) prettify-symbols-alist)
(push '("[-]" . "⊟" ) prettify-symbols-alist)
(prettify-symbols-mode)))
#+end_src
And when you hover over it, disable it.