This commit is contained in:
Chris Cochrun 2023-12-18 16:15:45 -06:00
parent 36c35aa4b6
commit a6cecb8599
3 changed files with 74 additions and 48 deletions

View file

@ -602,7 +602,7 @@ This evil-collection package includes a lot of other evil based things.
(defun chris/open-bible ()
"find a bible to open"
(interactive)
(find-file "~/org/bibles/esv.org")
(find-file "~/docs/bibles/esv.org")
)
(defun chris/transpose-lines (arg)
@ -894,7 +894,8 @@ Part of this config includes some special capture templates for my work as a you
org-log-into-drawer t
org-latex-active-timestamp-format "\\textit{%s}"
org-enforce-todo-dependencies t
org-export-preserve-breaks t)
org-export-preserve-breaks t
org-directory "~/docs/notes")
(add-hook 'org-mode-hook 'chris/org-mode-setup)
@ -960,13 +961,13 @@ Part of this config includes some special capture templates for my work as a you
(search . " %i %-12:c")))
(setq org-agenda-category-icon-alist
'(("todo" "~/org/icons/task.png" nil nil :ascent center)
("lesson" "~/org/icons/book.png" nil nil :ascent center)
("dev" "~/org/icons/coding.png" nil nil :ascent center)
("TODO" "~/org/icons/coding.png" nil nil :ascent center)))
'(("todo" "~/docs/icons/task.png" nil nil :ascent center)
("lesson" "~/docs/icons/book.png" nil nil :ascent center)
("dev" "~/docs/icons/coding.png" nil nil :ascent center)
("TODO" "~/docs/icons/coding.png" nil nil :ascent center)))
(setq org-imenu-depth 4
org-odt-styles-file "/home/chris/org/style.odt"
org-odt-styles-file "/home/chris/docs/style.odt"
org-export-with-toc nil
org-export-with-author nil
org-export-with-section-numbers nil
@ -974,12 +975,11 @@ Part of this config includes some special capture templates for my work as a you
'((sequence "TODO(t)" "PROJ(p)" "STRT(s)" "WAIT(w)" "HOLD(h)" "|" "DONE(d)" "CNCL(c)")
(sequence "[ ](T)" "[-](S)" "[?](W)" "|" "[X](D)"))
org-agenda-files
'("~/org/todo/todo.org"
"~/org/nvtfc_social_media.org"
'("~/docs/notes/todo/todo.org"
"~/docs/notes/nvtfc_social_media.org"
"~/dev/lumina/TODO.org"
"~/dev/tfcconnection/TODO.org"
"~/org/lessons/"
"~/org/")
"~/docs/lessons/")
org-id-method 'ts
org-agenda-tags-column -75
org-agenda-dim-blocked-tasks nil
@ -1056,7 +1056,7 @@ Part of this config includes some special capture templates for my work as a you
(setq org-publish-project-alist
`(("home"
:base-directory "~/org/"
:base-directory "~/docs/notes/"
:base-extension "org"
:exclude ".*"
:include "index.org"
@ -1068,7 +1068,7 @@ Part of this config includes some special capture templates for my work as a you
:publishing-directory "~/cochrun.xyz/"
:publishing-function org-html-publish-to-html)
("posts"
:base-directory "~/org/"
:base-directory "~/docs/notes/"
:base-extension "org"
:exclude "bibles\\|.st.*\\|.templates"
:recursive t
@ -1080,7 +1080,7 @@ Part of this config includes some special capture templates for my work as a you
:publishing-directory "~/cochrun.xyz/content/"
:publishing-function org-html-publish-to-html)
("static"
:base-directory "~/org/"
:base-directory "~/docs/notes/"
:base-extension "css\\|txt\\|jpg\\|gif\\|png"
:exclude "bibles\\|.st.*\\|.templates"
:recursive t
@ -1240,7 +1240,7 @@ We also need to setup some capture templates to use some specific setups with my
:init
(setq org-roam-v2-ack t)
:config
(setq org-roam-directory "~/org"
(setq org-roam-directory "~/docs/notes"
org-roam-buffer-width 0.25
org-roam-list-files-commands '(fd rg find fdfind)
org-roam-file-exclude-regexp '(".stversion/|logseq/|presentations/|.stfolder/|.*~.*|.*sync.*|bibles/")
@ -1384,13 +1384,24 @@ I might try switching to and using denote instead of Org Roam. Denote doesn't us
#+begin_src emacs-lisp
(use-package denote
:config
(setq denote-directory "/home/chris/org"
denote-dired-directories "/home/chris/org"
(require 'denote-org-dblock)
(setq denote-directory "/home/chris/docs/notes"
denote-dired-directories "/home/chris/docs/notes"
denote-modules '(project xref ffap)
denote-known-keywords '("emacs" "bible" "jesus" "tfc" "lesson" "it" "dev"))
(setq denote-org-front-matter
"#+TITLE: %1$s
,#+AUTHOR: Chris Cochrun
,#+CREATED: %2$s
,#+filetags: %3$s
,#+identifier: %4$s")
:general
(chris/leader-keys
"no" 'denote-open-or-create))
:states 'normal
:keymaps 'override
"nf" 'denote-open-or-create
"nb" 'denote-backlinks))
#+end_src
*** Org-Superstar
@ -1962,7 +1973,7 @@ So, how do we use this? Well, let's try like this.
(use-package org-re-reveal
:ensure nil
:config
(setq org-re-reveal-root "file:///home/chris/org/presentations/reveal.js/"
(setq org-re-reveal-root "file:///home/chris/docs/presentations/reveal.js/"
;; org-re-reveal-theme "serif"
org-re-reveal-transition "slide"
org-re-reveal-mobile-app t
@ -4033,10 +4044,10 @@ I'd like to sync my org-files to caldav and hopefully use more native android ap
:config
(setq org-caldav-url "https://staff.tfcconnection.org/remote.php/dav/calendars/chris"
org-caldav-calendar-id "org"
org-caldav-inbox "/home/chris/org/todo/inbox.org"
org-caldav-files '("/home/chris/org/todo/todo.org"
"/home/chris/org/todo/notes.org"
"/home/chris/org/todo/prayer.org")
org-caldav-inbox "/home/chris/docs/notes/todo/inbox.org"
org-caldav-files '("/home/chris/docs/notes/todo/todo.org"
"/home/chris/docs/notes/todo/notes.org"
"/home/chris/docs/notes/todo/prayer.org")
org-icalendar-alarm-time 15
org-icalendar-use-scheduled '(todo-start event-if-todo)))
#+END_SRC
@ -4655,7 +4666,7 @@ interfere with the default `bongo-playlist-buffer'."
(use-package elfeed-org
:after elfeed
:config
(setq rmh-elfeed-org-files (list "~/org/elfeed.org"))
(setq rmh-elfeed-org-files (list "~/docs/elfeed.org"))
(elfeed-org)
(elfeed-update))
#+end_src
@ -4971,7 +4982,7 @@ MyBible is going to be set of functions for creating and using a bible app withi
(defun chris/find-verse ()
(interactive)
(find-file "/home/chris/org/bibles/esv.org")
(find-file "/home/chris/docs/notes/bibles/esv.org")
(list (imenu-choose-buffer-index)))
#+end_src