diff options
author | Guangxiong Lin <[email protected]> | 2022-02-27 00:41:35 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-02-27 00:41:35 +0800 |
commit | 326f87ee54d95587998d432200aeca09d2236219 (patch) | |
tree | 05210a933775103bf31f09d628d366e4fcb6516e | |
parent | d3ce67c0021661ea2ff9a7d80527056d752ed8ed (diff) | |
download | dotfiles-326f87ee54d95587998d432200aeca09d2236219.tar.gz dotfiles-326f87ee54d95587998d432200aeca09d2236219.tar.bz2 dotfiles-326f87ee54d95587998d432200aeca09d2236219.zip |
Add config of deft (emacs)
-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) |