Formatting
This commit is contained in:
parent
f2d6f3397b
commit
c79a6ede22
|
@ -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)
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user