From cfb9fd37f61f421a6027fbc8bd2fcd5cf68b4cfd Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Thu, 7 Jul 2022 22:52:22 +0800 Subject: Update emacs config --- .emacs.d/lisp/init-deft.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.emacs.d/lisp/init-deft.el') diff --git a/.emacs.d/lisp/init-deft.el b/.emacs.d/lisp/init-deft.el index 23d288f..7a5a2a6 100644 --- a/.emacs.d/lisp/init-deft.el +++ b/.emacs.d/lisp/init-deft.el @@ -1,4 +1,6 @@ -(gx/maybe-require-package 'deft) +(when (gx/maybe-require-package 'deft) + (define-key global-map (kbd "C-c n d") #'deft)) + (setq deft-recursive t deft-use-filter-string-for-filename t deft-extensions '("org" "txt" "md" "tex") -- cgit v1.2.3