|
@ -242,13 +242,15 @@ Restore it to reasonable value after init. Also stop garbage collection during m |
|
|
|
|
|
|
|
|
(when *sys/linux* |
|
|
(when *sys/linux* |
|
|
(defconst MY--PATH_ORG_FILES (expand-file-name "~/Archiv/Organisieren/")) |
|
|
(defconst MY--PATH_ORG_FILES (expand-file-name "~/Archiv/Organisieren/")) |
|
|
(defconst MY--PATH_ORG_FILES_MOBILE (expand-file-name "~/Archiv/Organisieren/mobile/"))) |
|
|
|
|
|
|
|
|
(defconst MY--PATH_ORG_FILES_MOBILE (expand-file-name "~/Archiv/Organisieren/mobile/")) |
|
|
(defconst MY--PATH_ORG_JOURNAl (expand-file-name "~/Archiv/Organisieren/Journal/")) |
|
|
(defconst MY--PATH_ORG_JOURNAl (expand-file-name "~/Archiv/Organisieren/Journal/")) |
|
|
|
|
|
(defconst MY--PATH_ORG_ROAM (file-truename "~/Archiv/Organisieren/"))) |
|
|
(when *work_remote* |
|
|
(when *work_remote* |
|
|
(defconst MY--PATH_ORG_FILES "p:/Eigene Dateien/Notizen/") |
|
|
(defconst MY--PATH_ORG_FILES "p:/Eigene Dateien/Notizen/") |
|
|
(defconst MY--PATH_ORG_FILES_MOBILE nil) ;; hacky way to prevent "free variable" compiler error |
|
|
(defconst MY--PATH_ORG_FILES_MOBILE nil) ;; hacky way to prevent "free variable" compiler error |
|
|
(defconst MY--PATH_ORG_JOURNAL nil) ;; hacky way to prevent "free variable" compiler error |
|
|
(defconst MY--PATH_ORG_JOURNAL nil) ;; hacky way to prevent "free variable" compiler error |
|
|
(defconst MY--PATH_START "p:/Eigene Dateien/Notizen/")) |
|
|
|
|
|
|
|
|
(defconst MY--PATH_START "p:/Eigene Dateien/Notizen/") |
|
|
|
|
|
(defconst MY--PATH_ORG_ROAM (expand-file-name "p:/Eigene Dateien/Notizen/"))) |
|
|
|
|
|
|
|
|
(setq custom-file (concat MY--PATH_USER_LOCAL "custom.el")) ;; don't spam init.e with saved customization settings |
|
|
(setq custom-file (concat MY--PATH_USER_LOCAL "custom.el")) ;; don't spam init.e with saved customization settings |
|
|
(setq backup-directory-alist `((".*" . ,temporary-file-directory))) |
|
|
(setq backup-directory-alist `((".*" . ,temporary-file-directory))) |
|
@ -548,6 +550,8 @@ Exclude some dirs from spamming recentf |
|
|
(use-package evil |
|
|
(use-package evil |
|
|
:ensure t |
|
|
:ensure t |
|
|
:defer .1 ;; don't block emacs when starting, load evil immediately after startup |
|
|
:defer .1 ;; don't block emacs when starting, load evil immediately after startup |
|
|
|
|
|
:init |
|
|
|
|
|
(setq evil-want-C-i-jump nil) ;; prevent evil from blocking TAB in org tree expanding |
|
|
:config |
|
|
:config |
|
|
(evil-mode 1)) |
|
|
(evil-mode 1)) |
|
|
#+END_SRC |
|
|
#+END_SRC |
|
@ -1081,18 +1085,35 @@ Ggf. durch org-roam-journal ersetzen |
|
|
#+END_SRC |
|
|
#+END_SRC |
|
|
|
|
|
|
|
|
** org-roam |
|
|
** org-roam |
|
|
|
|
|
[[https://github.com/org-roam/org-roam][Github]] |
|
|
Um Headings innerhalb einer Datei zu verlinken: |
|
|
Um Headings innerhalb einer Datei zu verlinken: |
|
|
- org-id-get-create im Heading, |
|
|
- org-id-get-create im Heading, |
|
|
- org-roam-node-insert in der verweisenden Datei |
|
|
- org-roam-node-insert in der verweisenden Datei |
|
|
|
|
|
|
|
|
|
|
|
Bei Problemen wie unique constraint |
|
|
|
|
|
org-roam-db-clear-all |
|
|
|
|
|
org-roam-db-sync |
|
|
#+BEGIN_SRC emacs-lisp |
|
|
#+BEGIN_SRC emacs-lisp |
|
|
(use-package org-roam |
|
|
(use-package org-roam |
|
|
:ensure t |
|
|
:ensure t |
|
|
:init |
|
|
:init |
|
|
(setq org-roam-v2-ack t) |
|
|
(setq org-roam-v2-ack t) |
|
|
:custom |
|
|
:custom |
|
|
(org-roam-directory "~/RoamNotes") |
|
|
|
|
|
|
|
|
(org-roam-directory MY--PATH_ORG_ROAM) |
|
|
(org-roam-completion-everywhere t) |
|
|
(org-roam-completion-everywhere t) |
|
|
|
|
|
(org-roam-capture-templates |
|
|
|
|
|
'(("d" "default" plain |
|
|
|
|
|
"%?" |
|
|
|
|
|
:if-new (file+head "notes/%<%Y%m%d%H%M%S>-${plug}.org" "#+title: ${title}\n") |
|
|
|
|
|
:unnarrowed t) |
|
|
|
|
|
("n" "ndefault" plain |
|
|
|
|
|
"%?" |
|
|
|
|
|
:if-new (file+head "ideas/%<%Y%m%d%H%M%S>-${plug}.org" "#+title: ${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"))) |
|
|
|
|
|
)) |
|
|
:bind (("C-c n l" . org-roam-buffer-toggle) |
|
|
:bind (("C-c n l" . org-roam-buffer-toggle) |
|
|
("C-c n f" . org-roam-node-find) |
|
|
("C-c n f" . org-roam-node-find) |
|
|
("C-c n i" . org-roam-node-insert) |
|
|
("C-c n i" . org-roam-node-insert) |
|
|