diff --git a/config.org b/config.org index 9a84567..9abcefe 100644 --- a/config.org +++ b/config.org @@ -1047,17 +1047,6 @@ Bei Problemen wie unique constraint org-roam-db-clear-all org-roam-db-sync #+BEGIN_SRC emacs-lisp -(use-package org-roam - :if (eq *sys/windows* t) - :init - (setq exec-path (append exec-path '("P:/Tools/sqlite"))) - (use-package emacsql-sqlite3 - :ensure t - :init - (setq emacsql-sqlite3-binary "P:/Tools/sqlite/sqlite3.exe")) - :custom - (org-roam-database-connector 'sqlite3)) - (use-package org-roam :ensure t :defer t @@ -1078,20 +1067,7 @@ org-roam-db-sync "%?" :if-new (file+head "ideas/%<%Y%m%d%H%M%S>-${plug}.org" "#+title: ${title}\n") :unnarrowed t) - ("t" "telephone call" plain - "%?" - :if-new (file+head "telephone/%<%Y%m%d%H%M%S>-${plug}.org" "#+title: CALL %<%Y-%m-%d %H:%M> ${title}\n") - :unnarrowed t) - ("p" "new Project" plain - "** ${title}\n :PROPERTIES:\n :ID: %(org-id-uuid)\n:END:\n%u\n" - :target (file+olp "projects.org" ("Active"))) - ("s" "Sicherheitenmeldung" plain - "*** TODO [#A] Sicherheitenmeldung ${title}\n :PROPERTIES:\n :ID: %(org-id-uuid)\n:END:\n%u\n" - :target (file+olp "tasks.org" ("Todos" "Sicherheitenmeldungen"))) - ("m" "Monatsbericht" plain - "*** TODO [#A] Monatsbericht ${title}\n :PROPERTIES:\n :ID: %(org-id-uuid)\n:END:\n%u\n" - :target (file+olp "tasks.org" ("Todos" "Monatsberichte"))) - )) + )) :bind (("C-c n l" . org-roam-buffer-toggle) ("C-c n f" . org-roam-node-find) ("C-c n i" . org-roam-node-insert) @@ -1103,6 +1079,33 @@ org-roam-db-sync :bind-keymap ("C-c n d" . org-roam-dailies-map)) +(use-package org-roam + :if (eq *sys/windows* t) + :init + (setq exec-path (append exec-path '("P:/Tools/sqlite"))) + (use-package emacsql-sqlite3 + :ensure t + :init + (setq emacsql-sqlite3-binary "P:/Tools/sqlite/sqlite3.exe")) + :config + (add-to-list 'org-roam-capture-templates + '("t" "telephone call" plain + "%?" + :if-new (file+head "telephone/%<%Y%m%d%H%M%S>-${plug}.org" "#+title: CALL %<%Y-%m-%d %H:%M> ${title}\n") + :unnarrowed t) + ("p" "new Project" plain + "** ${title}\n :PROPERTIES:\n :ID: %(org-id-uuid)\n:END:\n%u\n" + :target (file+olp "projects.org" ("Active"))) + ("s" "Sicherheitenmeldung" plain + "*** TODO [#A] Sicherheitenmeldung ${title}\n :PROPERTIES:\n :ID: %(org-id-uuid)\n:END:\n%u\n" + :target (file+olp "tasks.org" ("Todos" "Sicherheitenmeldungen"))) + ("m" "Monatsbericht" plain + "*** TODO [#A] Monatsbericht ${title}\n :PROPERTIES:\n :ID: %(org-id-uuid)\n:END:\n%u\n" + :target (file+olp "tasks.org" ("Todos" "Monatsberichte")))) + :custom + (org-roam-database-connector 'sqlite3)) + + #+END_SRC *** TODO Verzeichnis außerhalb roam zum Archivieren (u.a. für erledigte Monatsmeldungen etc.) @@ -1287,10 +1290,10 @@ Manage projects and jump quickly between its files ; :ensure t ; :config (counsel-projectile-mode) (setq ivy-use-virtual-buffers t ;; recent files and bookmarks in ivy-switch-buffer) -(use-package helm-projectile - :ensure t - :hook - (projectile-mode . helm-projectile)) +;(use-package helm-projectile +; :ensure t +; :hook +; (projectile-mode . helm-projectile)) #+END_SRC ** smartparens