diff --git a/emacs/init.org b/emacs/init.org index cd75121..adb9165 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -5027,15 +5027,18 @@ Emacs frontend for networkmanager. * Deft A fuzzy-finder for notes. #+BEGIN_SRC emacs-lisp - (setq deft-directory - (concat (file-name-as-directory (get-dropbox-directory)) - "org/deft")) - (add-to-list 'org-agenda-files deft-directory) - (use-package deft :commands (deft) :init - (setq deft-extensions '("org" "txt" "md" "markdown" "text")) + (setq deft-extensions '("org" "txt" "md" "markdown" "text") + deft-recursive t + deft-directory (concat + (file-name-as-directory (get-dropbox-directory)) + "org")) + ;; Still lots of notes in the old Deft directory + (add-to-list 'org-agenda-files + (concat (file-name-as-directory (get-dropbox-directory)) + "/org/deft")) (leader-def-key "D" #'deft) (leader-def-key "od" #'deft) :config @@ -5045,7 +5048,6 @@ A fuzzy-finder for notes. (case-fn . downcase)) deft-auto-save-interval 0) (add-to-list 'evil-emacs-state-modes 'deft-mode)) - #+END_SRC Tell Deft to use the TITLE property for entry titles, if it exists: