Relocated org stuff into org.el file.

This commit is contained in:
James Patrick 2020-07-05 20:01:38 -04:00
parent e01f8058ff
commit bcf0035147
2 changed files with 9 additions and 8 deletions

View File

@ -6,8 +6,17 @@
deft-directory org-directory deft-directory org-directory
org-download-image-dir (concat org-directory "resources") org-download-image-dir (concat org-directory "resources")
org-roam-directory org-directory) org-roam-directory org-directory)
;; Add projectile autosearch for common dirs
(require 'seq)
(setq projectile-project-search-path
(seq-filter 'file-directory-p '("~/src" "~/Code" "~/opt")))
;; Make sort reasonable.
(setq projectile-sort-order 'access-time)
;; recursive search for deft
(setq deft-recursive t) (setq deft-recursive t)
; Enable word wrap ; Enable word wrap
(add-hook 'org-mode-hook #'visual-line-mode) (add-hook 'org-mode-hook #'visual-line-mode)

View File

@ -15,13 +15,5 @@
;; Use an image splash ;; Use an image splash
(setq fancy-splash-image (concat doom-private-dir "doom.png")) (setq fancy-splash-image (concat doom-private-dir "doom.png"))
;; Have projectile automatically check code.
(require 'seq)
(setq projectile-project-search-path
(seq-filter 'file-directory-p '("~/src" "~/Code" "~/opt")))
;; Make sort reasonable.
(setq projectile-sort-order 'access-time)
(load! "+mail") (load! "+mail")
(load! "+org") (load! "+org")