From 326f87ee54d95587998d432200aeca09d2236219 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 27 Feb 2022 00:41:35 +0800 Subject: Add config of deft (emacs) --- .emacs.d/init.el | 1 + .emacs.d/lisp/init-deft.el | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 .emacs.d/lisp/init-deft.el 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) -- cgit v1.2.3