diff options
-rw-r--r-- | .emacs.d/init.el | 1 | ||||
-rw-r--r-- | .emacs.d/lisp/init-deft.el | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 58cbf73..6431006 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -18,6 +18,7 @@ (require 'init-lang) (require 'init-filetype) (require 'init-pyim) +(require 'init-deft) (require 'init-misc) (setq custom-file (expand-file-name "custom.el" user-emacs-directory)) 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) |