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