mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
chore: move some folder to new locations
This commit is contained in:
parent
49c7cae7f9
commit
dbe12c8d5e
4 changed files with 209 additions and 60 deletions
|
|
@ -5374,12 +5374,12 @@ Here I disable global completion to prevent redundant compinit calls and cache i
|
|||
id = "default";
|
||||
};
|
||||
"Obsidian" = {
|
||||
path = "${homeDir}/Nextcloud/Obsidian";
|
||||
path = "${homeDir}/Obsidian";
|
||||
inherit devices;
|
||||
id = "yjvni-9eaa7";
|
||||
};
|
||||
"Org" = {
|
||||
path = "${homeDir}/Nextcloud/Org";
|
||||
path = "${homeDir}/Org";
|
||||
inherit devices;
|
||||
id = "a7xnl-zjj3d";
|
||||
};
|
||||
|
|
@ -19850,13 +19850,13 @@ This part of the configuration mostly makes some aesthetic changes, enables neat
|
|||
(defun swarsel/org-agenda-done-and-archive ()
|
||||
"Mark TODO at point as DONE, archive it, and save all agenda files."
|
||||
(interactive)
|
||||
(let ((org-archive-location "~/Nextcloud/Org/Archive.org::Archive"))
|
||||
(let ((org-archive-location "~/Org/Archive.org::Archive"))
|
||||
(org-agenda-todo "DONE")
|
||||
(org-agenda-archive)
|
||||
(dolist (buf (buffer-list))
|
||||
(with-current-buffer buf
|
||||
(when (and buffer-file-name
|
||||
(string-prefix-p (expand-file-name "~/Nextcloud/Org/") (file-truename buffer-file-name))
|
||||
(string-prefix-p (expand-file-name "~/Org/") (file-truename buffer-file-name))
|
||||
(derived-mode-p 'org-mode))
|
||||
(save-buffer))))))
|
||||
|
||||
|
|
@ -19885,14 +19885,14 @@ This part of the configuration mostly makes some aesthetic changes, enables neat
|
|||
(setq org-image-actual-width nil)
|
||||
(setq org-format-latex-options '(:foreground "White" :background default :scale 2.0 :html-foreground "Black" :html-background "Transparent" :html-scale 1.0 :matchers ("begin" "$1" "$" "$$" "\\(" "\\[")))
|
||||
|
||||
(setq org-agenda-files '("/home/swarsel/Nextcloud/Org/Tasks.org"
|
||||
"/home/swarsel/Nextcloud/Org/Archive.org"
|
||||
(setq org-agenda-files '("/home/swarsel/Org/Tasks.org"
|
||||
"/home/swarsel/Org/Archive.org"
|
||||
))
|
||||
|
||||
(setq org-capture-templates
|
||||
'(("t" "Todo" entry (file+headline "~/Nextcloud/Org/Tasks.org" "Inbox")
|
||||
'(("t" "Todo" entry (file+headline "~/Org/Tasks.org" "Inbox")
|
||||
"* TODO %?\n %i\n %a")
|
||||
("j" "Journal" entry (file+datetree "~/Nextcloud/Org/Journal.org")
|
||||
("j" "Journal" entry (file+datetree "~/Org/Journal.org")
|
||||
"* %?\nEntered on %U\n %i\n %a")))
|
||||
|
||||
(setq org-refile-targets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue