Org mode stuff: crypto, moving files around, etc.

master
Dustin Swan 8 years ago
parent c67de567a2
commit 258b5bf08c

@ -104,7 +104,7 @@ values."
;; wrapped in a layer. If you need some configuration for these ;; wrapped in a layer. If you need some configuration for these
;; packages, then consider creating a layer. You can also put the ;; packages, then consider creating a layer. You can also put the
;; configuration in `dotspacemacs/user-config'. ;; configuration in `dotspacemacs/user-config'.
dotspacemacs-additional-packages '(hackernews chess wttrin mingus tumblesocks writeroom-mode beacon org-journal vdirel circe (vue-mode :location (recipe dotspacemacs-additional-packages '(hackernews chess wttrin osm-mode mingus tumblesocks writeroom-mode beacon org-journal org-crypt vdirel circe (vue-mode :location (recipe
:fetcher github :fetcher github
:repo "codefalling/vue-mode"))) :repo "codefalling/vue-mode")))
;; A list of packages and/or extensions that will not be install and loaded. ;; A list of packages and/or extensions that will not be install and loaded.
@ -554,16 +554,14 @@ layers configuration. You are free to put any user code."
(setq org-startup-indented t) (setq org-startup-indented t)
(setq org-agenda-files '("~/Sync/Notes" (setq org-agenda-files '("~/Sync/Notes"))
"~/Sync/org.org"
"~/Sync/IOCOM/IOCOM.org"))
(setq org-directory "~/Sync/Notes/") (setq org-directory "~/Sync/Notes/")
;; Capture ;; Capture
(setq org-capture-templates (setq org-capture-templates
'(("t" "TODO" entry (file+headline "~/Sync/org.org" "Inbox") '(("t" "TODO" entry (file+headline "~/Sync/Notes/Main.org" "Inbox")
"* TODO [#A] %?\nSCHEDULED: %(org-insert-time-stamp (org-read-date nil t \"+0d\"))\n%a\n") "* TODO [#A] %?\nSCHEDULED: %(org-insert-time-stamp (org-read-date nil t \"+0d\"))\n%a\n")
("i" "IOCOM TODO" entry (file+headline "~/Sync/IOCOM/IOCOM.org" "Inbox") ("i" "IOCOM TODO" entry (file+headline "~/Sync/Notes/IOCOM.org" "Inbox")
"* TODO [#A] %?\nSCHEDULED: %(org-insert-time-stamp (org-read-date nil t \"+0d\"))\n%a\n"))) "* TODO [#A] %?\nSCHEDULED: %(org-insert-time-stamp (org-read-date nil t \"+0d\"))\n%a\n")))
;; Org Journal ;; Org Journal
@ -574,12 +572,18 @@ layers configuration. You are free to put any user code."
(setq org-journal-time-format "%R %Z") (setq org-journal-time-format "%R %Z")
(evil-leader/set-key-for-mode 'org-journal-mode (evil-leader/set-key-for-mode 'org-journal-mode
"mn" 'org-journal-open-next-entry "n" 'org-journal-open-next-entry
"mp" 'org-journal-open-previous-entry) "p" 'org-journal-open-previous-entry)
(add-hook 'org-journal-mode-hook 'turn-on-auto-fill) (add-hook 'org-journal-mode-hook 'turn-on-auto-fill)
(add-hook 'org-journal-mode-hook 'flyspell-mode) (add-hook 'org-journal-mode-hook 'flyspell-mode)
;; Crypt
(require 'org-crypt)
(org-crypt-use-before-save-magic)
(setq org-tags-exclude-from-inheritance (quote ("crypt")))
;; (setq org-crypt-key nil) ;; symmetric encryption
;; Deft ;; Deft
(setq deft-directory "~/Sync/Notes") (setq deft-directory "~/Sync/Notes")

Loading…
Cancel
Save