Add deft and orgmode configuration.

Both my dev systems should have a symlinked ~/org directory that are synced
using Nextcloud. This added support for that.
This commit is contained in:
James Patrick 2019-05-18 19:49:41 -04:00
parent b01de5a298
commit 5fcdec6b4f

View File

@ -345,11 +345,25 @@ you should place your code here."
("iedit-insert" "firebrick1" (bar . 2)))
)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ORGMODE
;; Define the orgmode directory explicitly
(custom-set-variables
'(org-directory "~/org"))
;; Orgmode-downlaod: sane defaults dir
(setq-default org-download-image-dir "~/org/resources/")
;; Enable word wrap
(add-hook 'org-mode-hook #'visual-line-mode)
;; Orgmode: Enable md export
(eval-after-load "org" '(require 'ox-md nil t))
;; Deft: Set path to Org-mope Directory
(setq deft-directory "~/org/")
;; Load Custom user-config.el file.
(when (file-readable-p (expand-file-name "user-config.el" dotspacemacs-directory))
(load-file (expand-file-name "user-config.el" dotspacemacs-directory))
)
)
)