diff options
| author | Blake Romero <blake@blkrom.com> | 2025-07-11 18:03:43 +0100 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2025-07-11 18:03:43 +0100 |
| commit | 373ed3cd43ba69bf6c218dccddac599fa24e6f53 (patch) | |
| tree | 3e944050c5eb6e9d9eb034638e7e5b3760ef0046 | |
| parent | f1b82eb8f4876f17657949c6ec1021634c02662d (diff) | |
Add org encryption settings
| -rw-r--r-- | emacs-config.org | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/emacs-config.org b/emacs-config.org index fcd7a93..6095938 100644 --- a/emacs-config.org +++ b/emacs-config.org @@ -1261,6 +1261,26 @@ Org functions. (keymap-set +global-keys-map "C-c c" #'org-capture) #+end_src +** Org Encryption +Enable org-crypt module. +#+begin_src elisp + (with-eval-after-load 'org + (cl-pushnew 'org-crypt org-modules)) +#+end_src + +Use symmetrical keys for encryption/decryption. +#+begin_src elisp + (with-eval-after-load 'org-crypt + (setq-default org-crypt-key nil)) +#+end_src + +Encrypt file on save. +#+begin_src elisp + (with-eval-after-load 'org-crypt + (setq-default org-crypt-disable-auto-save 'encrypt) + (org-crypt-use-before-save-magic)) +#+end_src + ** Diff-mode Rebind diff-mode's ~diff-goto-source~ keybinding (due to conflict with =M-o=). Add version control next action shortcut in diff-mode buffer. |
