diff --git a/.config/doom/config.el b/.config/doom/config.el index a62fe40..27cb152 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -168,7 +168,7 @@ Version 2019-11-04 2021-02-16" (setq pdf-misc-print-programm "/usr/bin/lpr") -(setq org-directory (expand-file-name "2-standards/notes" user-data-dir) +(setq org-directory (expand-file-name "2-standards/box" user-data-dir) default-directory org-directory org-roam-directory org-directory custom-emacs-data-dir (expand-file-name "data" doom-private-dir)) @@ -186,7 +186,7 @@ Version 2019-11-04 2021-02-16" (add-to-list 'projectile-ignored-projects user-data-dir) (let ((default-directory user-data-dir)) (add-to-list 'projectile-known-projects (expand-file-name "music/") t) - (add-to-list 'projectile-known-projects (expand-file-name "2-standards/notes/") t) + (add-to-list 'projectile-known-projects (concat org-directory "/") t) ) ) @@ -213,8 +213,6 @@ Version 2019-11-04 2021-02-16" "e" 'org-export-dispatch-custom-date "E" 'org-export-repeat "\\" 'org-ctrl-c-ctrl-c - "nrt" 'org-roam-tag-add - "nrt" 'org-roam-tag-remove :localleader "j" 'org-insert-heading "k" 'org-latex-export-to-pdf @@ -228,9 +226,12 @@ Version 2019-11-04 2021-02-16" "rt" 'org-change-todo-in-region "ra" 'org-change-tag-in-region "lk" 'counsel-org-link + "gR" 'org-mode-restart :desc "Set ID property" "lI" '(lambda () (interactive) (org-set-property "ID" nil)) :desc "Set Roam Aliases" "la" '(lambda () (interactive) (org-set-property "ROAM_ALIASES" nil)) - "gR" 'org-mode-restart + :desc "Add tag" "mt" 'org-roam-tag-add + :desc "Remove tag" "mT" 'org-roam-tag-remove + :desc "Extract node to file" "me" 'org-roam-extract-subtree ) ;; Behavior @@ -364,7 +365,7 @@ Version 2019-11-04 2021-02-16" :unnarrowed t) ) ) - (cl-loop for item in '("health" "own" "list" "notes" "project" "person" "tech:software:list" "faith" "inspiration") + (cl-loop for item in '("health" "own" "list" "notes" "project" "entity:person" "tech:software:list" "faith" "inspiration") do (add-to-list 'org-roam-capture-templates `(,(substring item 0 1) ,(car (split-string item ":")) plain "%?" :target (file+head ,(concat (car (split-string item ":")) "/%<%Y%m%d>-${slug}.org") ,(concat my/org-roam-capture-props "#+filetags: :" item ":" my/org-roam-capture-title)) diff --git a/.config/doom/snippets/org-mode/reading-list-book b/.config/doom/snippets/org-mode/reading-list-book index 4d00573..6aa1157 100644 --- a/.config/doom/snippets/org-mode/reading-list-book +++ b/.config/doom/snippets/org-mode/reading-list-book @@ -7,12 +7,13 @@ $1 :PROPERTIES: :Author: ${2:+} :LibErlangen: https://stadtbibliothek-recherche.erlangen.de/Mediensuche/Einfache-Suche?search=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)}&top=y&facets=v_____Sachb%C3%BCcher%7CJugendsachbuch%7CJugendroman%7CBuch+Romane%7CSachb%C3%BCcher+Weih.%2fOst%7CSachbuch+Computer&facetsc=_____15&pagesize=20 + https://stadtbibliothek-recherche.erlangen.de/Mediensuche/Einfache-Suche?search=${2:$(replace-regexp-in-string " " "+" yas-text)}&top=y&facetsc=_____15&pagesize=20 :LibBayreuth: https://wwwopac.stadt.bayreuth.de/de-de/Mediensuche/Einfache-Suche?search=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)}&top=y&pagesize=50&facets=v_____Buch+Erw.+Sachlit.%7CBuch+Jug.+erz%C3%A4hlende%7CBuch+Erw.+erz%C3%A4hlende%7CBuch+Erw.+fremdspr.%7CNoten+Erw.%7CBuch+Jugend+Sachlit.&facetsc=_____15 :Medimops: https://www.medimops.de/produkte-C0/?fcIsSearch=1&searchparam=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)} +:rebuy: https://www.rebuy.de/kaufen/suchen?q=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)} :Ebay: https://www.ebay.de/sch/i.html?_nkw=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)}&_sop=15 :Amazon: https://smile.amazon.de/s?k=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)}&rh=n%3A186606 :Buch7: https://www.buch7.de/suche?search=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)}&bindings%5B%5D=Taschenbuch&bindings%5B%5D=Gebunden&bindings%5B%5D=Leinen+%28Buchleinen%29&bindings%5B%5D=Softcover-Buch&items_per_page=50 :OpenLibrary: https://openlibrary.org/search?q=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)} :BetterWorldBooks: https://www.betterworldbooks.com/search/results?q=${1:$(replace-regexp-in-string " " "%20" yas-text)}%20${2:$(replace-regexp-in-string " " "%20" yas-text)} -:Gebraucht-Kaufen: https://www.gebraucht-kaufen.de/f/search?query=${1:$(replace-regexp-in-string " " "+" yas-text)}+${2:$(replace-regexp-in-string " " "+" yas-text)} :END: \ No newline at end of file