aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-02-27 00:41:35 +0800
committerGuangxiong Lin <[email protected]>2022-02-27 00:41:35 +0800
commit326f87ee54d95587998d432200aeca09d2236219 (patch)
tree05210a933775103bf31f09d628d366e4fcb6516e /.emacs.d/lisp
parentd3ce67c0021661ea2ff9a7d80527056d752ed8ed (diff)
downloaddotfiles-326f87ee54d95587998d432200aeca09d2236219.tar.gz
dotfiles-326f87ee54d95587998d432200aeca09d2236219.tar.bz2
dotfiles-326f87ee54d95587998d432200aeca09d2236219.zip
Add config of deft (emacs)
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-deft.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-deft.el b/.emacs.d/lisp/init-deft.el
new file mode 100644
index 0000000..352021a
--- /dev/null
+++ b/.emacs.d/lisp/init-deft.el
@@ -0,0 +1,11 @@
+(use-package deft
+ :ensure t
+ :after (org)
+ :config
+ (setq deft-recursive t
+ deft-use-filter-string-for-filename t
+ deft-extensions '("org" "txt" "md" "tex")
+ deft-directory org-roam-directory
+ deft-use-filename-as-title t))
+
+(provide 'init-deft)