summaryrefslogtreecommitdiff
path: root/config.el
diff options
context:
space:
mode:
authorstuebinm2023-04-11 15:22:20 +0200
committerstuebinm2023-04-11 15:22:20 +0200
commit6a279f87a984766dcb4630378e805926b3ae91a6 (patch)
tree4942e9d2862880a96963f239283a5646f9310970 /config.el
parent04ec8bb0bbc34164c66c83b04a73cd0ef77eb43a (diff)
fix org capture snippet
Diffstat (limited to '')
-rw-r--r--config.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.el b/config.el
index c5f05fa..2c66884 100644
--- a/config.el
+++ b/config.el
@@ -13,6 +13,12 @@
(setq company-idle-delay 0.2
company-minimum-prefix-length 3)
+
+(setq org-roam-capture-templates
+ '(("d" "default" plain "" :target
+ (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "${title}")
+ :unnarrowed t)))
+
;; hooks to turn on lsp when entering haskell mode
(add-hook 'haskell-mode-hook #'lsp)
(add-hook 'haskell-literate-mode-hook #'lsp)