config/doom: update user dirs
This commit is contained in:
parent
1037eef3b8
commit
abbc9f0efb
|
@ -245,7 +245,7 @@ Version 2019-11-04 2021-02-16"
|
||||||
(substring id 0 2)
|
(substring id 0 2)
|
||||||
(if (> (seq-length id) 2) (substring id 2) id))
|
(if (> (seq-length id) 2) (substring id 2) id))
|
||||||
)
|
)
|
||||||
(setq org-attach-id-dir (expand-file-name "3-resources/attach" user-data-dir)
|
(setq org-attach-id-dir (expand-file-name "attach" (xdg-user-dir "DOCUMENTS"))
|
||||||
org-attach-method 'mv
|
org-attach-method 'mv
|
||||||
org-attach-preferred-new-method nil
|
org-attach-preferred-new-method nil
|
||||||
org-attach-id-to-path-function-list '(my/org-attach-id-folder-format)
|
org-attach-id-to-path-function-list '(my/org-attach-id-folder-format)
|
||||||
|
@ -790,7 +790,7 @@ Version 2019-11-04 2021-02-16"
|
||||||
:defer t
|
:defer t
|
||||||
:init
|
:init
|
||||||
(setq magit-clone-set-remote.pushDefault 't
|
(setq magit-clone-set-remote.pushDefault 't
|
||||||
magit-clone-default-directory (expand-file-name "4-incubator/dev" user-data-dir))
|
magit-clone-default-directory (expand-file-name "1-projects" user-data-dir))
|
||||||
(setq magit-clone-name-alist
|
(setq magit-clone-name-alist
|
||||||
'(("\\`\\(?:github:\\|gh:\\)?\\([^:]+\\)\\'" "github.com" "user.name")
|
'(("\\`\\(?:github:\\|gh:\\)?\\([^:]+\\)\\'" "github.com" "user.name")
|
||||||
("\\`\\(?:gitlab:\\|gl:\\)\\([^:]+\\)\\'" "gitlab.com" "user.name")
|
("\\`\\(?:gitlab:\\|gl:\\)\\([^:]+\\)\\'" "gitlab.com" "user.name")
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
(setq user-full-name "Janek"
|
(setq user-full-name "Janek"
|
||||||
user-mail-address "27jf@pm.me")
|
user-mail-address "27jf@pm.me")
|
||||||
|
|
||||||
(let ((box (expand-file-name "2-standards/box/" user-data-dir)))
|
(let ((box (expand-file-name "2-box/" user-data-dir)))
|
||||||
(if (file-exists-p box)
|
(if (file-exists-p box)
|
||||||
(setq org-directory box
|
(setq org-directory box
|
||||||
org-roam-directory org-directory
|
org-roam-directory org-directory
|
||||||
|
@ -23,6 +23,6 @@
|
||||||
:config
|
:config
|
||||||
(add-to-list 'recentf-exclude "writing\\/tug")
|
(add-to-list 'recentf-exclude "writing\\/tug")
|
||||||
(add-to-list 'recentf-exclude "\\.\\(sync\\|stversions\\|stfolder\\)")
|
(add-to-list 'recentf-exclude "\\.\\(sync\\|stversions\\|stfolder\\)")
|
||||||
(add-to-list 'recentf-list (expand-file-name "4-incubator/downloads/" user-data-dir))
|
(add-to-list 'recentf-list (expand-file-name "5-incubator/downloads/" user-data-dir))
|
||||||
(setq recentf-keep '(recentf-keep-default-predicate file-remote-p "/ssh:.*"))
|
(setq recentf-keep '(recentf-keep-default-predicate file-remote-p "/ssh:.*"))
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue