22 lines
764 B
EmacsLisp
22 lines
764 B
EmacsLisp
|
(require 'org-crypt)
|
||
|
|
||
|
(setq org-todo-keywords '((sequence "TODO" "IN PROGRESS" "|" "DONE")))
|
||
|
(setq org-ditaa-jar-path "/usr/share/java/ditaa/ditaa-0_9.jar")
|
||
|
(setq org-babel-load-languages '((ditaa . t)))
|
||
|
(setq org-confirm-babel-evaluate nil)
|
||
|
(setq org-tags-exclude-from-inheritance '("crypt"))
|
||
|
(setq org-crypt-key "33E8CC1CC4")
|
||
|
; GPG key used for encryption
|
||
|
|
||
|
(global-set-key "\C-cl" 'org-store-link)
|
||
|
(global-set-key "\C-cc" 'org-capture)
|
||
|
(global-set-key "\C-ca" 'org-agenda)
|
||
|
|
||
|
;; Encrypt all entries before saving
|
||
|
(org-crypt-use-before-save-magic)
|
||
|
|
||
|
(add-hook 'org-mode-hook
|
||
|
(lambda ()
|
||
|
(flyspell-mode 1)
|
||
|
(auto-fill-mode 1)))
|