jrblevin / deft

Deft for Emacs
http://jblevins.org/projects/deft/
713 stars 87 forks source link

configure list of files and format to new notes #116

Open arademaker opened 9 months ago

arademaker commented 9 months ago

My old laptop crashed and I lost my emacs config. I am trying to remember how to:

  1. config deft to always create new files as org-mode files
  2. configure the list to show the titles of the org-mode files properly.

I tried to find the instructions in the readme, but

(use-package deft
  :ensure t
  :straight (:host github :repo "jrblevin/deft")
  :bind ("<f8>" . deft)
  :commands (deft)
  :config (setq deft-directory "~/r/dnotes"
        deft-new-file-format "org"
        deft-file-naming-rules '((noslash . "-")
                     (nospace . "-")
                     (case-fn . downcase))
        deft-org-mode-title-prefix 1
                deft-extensions '("org" "md")))

Is not working as expected