diff options
author | Vincent Ambo <mail@tazj.in> | 2022-05-23T17·49+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-05-25T11·46+0000 |
commit | c55f61cd9b000607edd03c99c94c283fd968c4a6 (patch) | |
tree | 960bfe77cd1e2894c63200098a97ecc1514797d1 /users/tazjin/emacs/config | |
parent | 1bdf44c61f90e83d8368ec964f382f0ff6593dbd (diff) |
feat(tazjin/emacs): Configure zetteldeft for Markdown r/4111
Change-Id: Ib652374d42b6f701a7371325355871f8cc5325f9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5650 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/emacs/config')
-rw-r--r-- | users/tazjin/emacs/config/init.el | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/users/tazjin/emacs/config/init.el b/users/tazjin/emacs/config/init.el index b5b3b5169036..b0e80998d63b 100644 --- a/users/tazjin/emacs/config/init.el +++ b/users/tazjin/emacs/config/init.el @@ -242,6 +242,21 @@ :custom (passively-store-state "/persist/tazjin/known-russian-words.el")) +;; Note taking configuration for deft. +(use-package deft + :custom + (deft-directory "/persist/tazjin/deft/") + (deft-extensions '("md" "org" "txt")) + (deft-default-extension "md")) + +(use-package zetteldeft + :custom + ;; Configure for Markdown + (zetteldeft-link-indicator "[[") + (zetteldeft-link-suffix "]]") + (zetteldeft-title-prefix "# ") + (zetteldeft-list-prefix "* ")) + ;; Initialise midnight.el, which by default automatically cleans up ;; unused buffers at midnight. (require 'midnight) |