config/doom: adjust projectile configuration
This commit is contained in:
parent
a34fca97c3
commit
de3386567a
|
@ -109,6 +109,7 @@ Version 2019-11-04 2021-02-16"
|
||||||
"oj" 'xf/org-journal-current
|
"oj" 'xf/org-journal-current
|
||||||
"njo" 'xf/org-journal-current
|
"njo" 'xf/org-journal-current
|
||||||
"nrb" (lambda () (interactive) (setq +org-roam-auto-backlinks-buffer (not +org-roam-auto-backlinks-buffer)) (org-roam-buffer-toggle))
|
"nrb" (lambda () (interactive) (setq +org-roam-auto-backlinks-buffer (not +org-roam-auto-backlinks-buffer)) (org-roam-buffer-toggle))
|
||||||
|
"sa" 'projectile-find-file-in-known-projects
|
||||||
"Se" '+snippets/edit
|
"Se" '+snippets/edit
|
||||||
"SN" '+snippets/new
|
"SN" '+snippets/new
|
||||||
"Sm" 'smerge-mode
|
"Sm" 'smerge-mode
|
||||||
|
@ -206,14 +207,15 @@ Version 2019-11-04 2021-02-16"
|
||||||
|
|
||||||
(use-package! projectile
|
(use-package! projectile
|
||||||
:init
|
:init
|
||||||
(add-to-list 'projectile-ignored-projects (expand-file-name user-data-dir))
|
|
||||||
(add-to-list 'projectile-ignored-projects user-data-dir)
|
|
||||||
(projectile-add-known-project (expand-file-name "4-media/" user-data-dir))
|
(projectile-add-known-project (expand-file-name "4-media/" user-data-dir))
|
||||||
(after! org
|
(after! org
|
||||||
(projectile-add-known-project org-directory)
|
(projectile-add-known-project org-directory)
|
||||||
(projectile-register-project-type 'org '(".orgids"))
|
(projectile-register-project-type 'org '(".orgids"))
|
||||||
;(setq projectile-project-search-path '((org-directory . 0) ((expand-file-name "1-projects" user-data-dir) . 3)))
|
;(setq projectile-project-search-path '((org-directory . 0) ((expand-file-name "1-projects" user-data-dir) . 3)))
|
||||||
)
|
)
|
||||||
|
:config
|
||||||
|
(add-to-list 'projectile-project-root-files "README.org")
|
||||||
|
(add-to-list 'projectile-project-root-files ".orgids")
|
||||||
)
|
)
|
||||||
|
|
||||||
(setq time-stamp-bare "%Y-%m-%d"
|
(setq time-stamp-bare "%Y-%m-%d"
|
||||||
|
|
|
@ -149,7 +149,7 @@
|
||||||
;;php ; perl's insecure younger brother
|
;;php ; perl's insecure younger brother
|
||||||
plantuml ; diagrams for confusing people more
|
plantuml ; diagrams for confusing people more
|
||||||
;;purescript ; javascript, but functional
|
;;purescript ; javascript, but functional
|
||||||
;;python ; beautiful is better than ugly
|
python ; beautiful is better than ugly
|
||||||
;;qt ; the 'cutest' gui framework ever
|
;;qt ; the 'cutest' gui framework ever
|
||||||
;;racket ; a DSL for DSLs
|
;;racket ; a DSL for DSLs
|
||||||
;;raku ; the artist formerly known as perl6
|
;;raku ; the artist formerly known as perl6
|
||||||
|
|
Loading…
Reference in New Issue