[emacs] Move org files and clean up init

This commit is contained in:
2020-09-11 02:04:04 -04:00
parent 963b0402be
commit a6282662b5
3 changed files with 62 additions and 36 deletions

View File

@ -18,11 +18,10 @@ I change my default theme almost as often as the weather. I tend to revert back
to Doom One most of the time, but I like the Kaolin themes, as well as Nimbus
for it's retro charm. Nimbus just doesn't look great when I'm tired though.
#+BEGIN_SRC emacs-lisp
(setq doom-font (font-spec :family "Iosevka" :size 14 :weight 'semi-light)
doom-variable-pitch-font (font-spec :family "Source Serif Pro" :size 16)
doom-big-font (font-spec :family "Iosevka" :size 18))
(setq doom-theme 'doom-peacock)
(setq doom-theme 'doom-old-hope
doom-font (font-spec :family "JetBrains Mono NL" :size 14 :weight 'semi-light)
doom-big-font (font-spec :family "JetBrains Mono NL" :size 18)
doom-variable-pitch-font (font-spec :family "Overpass" :size 16))
#+END_SRC
** Borders
Barring the unfortunate end of X11 development and my eventual transition to
@ -180,7 +179,7 @@ A handful of mods here clean up org mode. Line numbers dont mean much when yo
(add-hook 'org-mode-hook #'doom-disable-line-numbers-h)
(after! org
(setq org-directory (expand-file-name "~/org/")
(setq org-directory (expand-file-name "~/var/org/")
org-agenda-files (list org-directory)
org-pretty-entities t
org-agenda-dim-blocked-tasks nil
@ -191,7 +190,7 @@ A handful of mods here clean up org mode. Line numbers dont mean much when yo
org-fontify-quote-and-verse-blocks t
org-ellipsis ""
org-capture-templates
'(("i" "Send to inbox" entry (file+headline "~/org/inbox.org" "Inbox")
'(("i" "Send to inbox" entry (file "~/var/org/inbox.org")
"* TODO %?\n"))
org-todo-keywords
'((sequence "TODO(t)" "NEXT(n)" "MAYBE(m)" "|" "DONE(d)" "WONTDO(w)"))
@ -208,8 +207,7 @@ A handful of mods here clean up org mode. Line numbers dont mean much when yo
(setq git-gutter:disabled-modes '(org-mode image-mode)))
;; Refiling
(setq org-refile-targets '(("~/org/inbox.org" :maxlevel . 9)
("~/gtd/someday.org" :level . 9)))
(setq org-refile-targets '(("~/var/org/inbox.org" :maxlevel . 9)))
(setq org-outline-path-complete-in-steps nil) ; Refile in a single go
(setq org-refile-use-outline-path t) ; Show full paths for refiling
@ -217,7 +215,7 @@ A handful of mods here clean up org mode. Line numbers dont mean much when yo
** Key bindings
I add only two custom mappings to the default org mode maps, a shortcut to my Inbox file and a quick way to save all open org mode files.
#+BEGIN_SRC emacs-lisp
(setq +inbox-file "~/org/inbox.org")
(setq +inbox-file "~/var/org/inbox.org")
(defun +open-inbox-file ()
(interactive)
"Opens the inbox file"
@ -246,13 +244,13 @@ I add only two custom mappings to the default org mode maps, a shortcut to my In
** Org-roam
I am absolutely in love with [[https://org-roam.readthedocs.io/en/develop/][Org-roam]]. Everything about it makes taking notes easier. I just need to level up with Zettels and web publishing of my notes.
#+BEGIN_SRC emacs-lisp
(setq org-roam-directory "~/org/")
(setq org-roam-directory "~/var/org/")
#+END_SRC
** Org-fc
Trying a new space-repetition framework.
#+BEGIN_SRC emacs-lisp
(setq org-fc-directories "~/org/")
(setq org-fc-directories "~/var/org/")
(require 'org-fc-hydra)
#+END_SRC
@ -306,7 +304,7 @@ I use notmuch to read and write email from within Emacs.
; Use w3m to parse HTML email
(setq mm-text-html-renderer 'w3m)
(setq w3m-fill-column 72)
(setq w3m-fill-column 88)
; Kill email message buffers when you close them
(setq message-kill-buffer-on-exit t)