Add additional Deft keybinding

This commit is contained in:
Jeremy Dormitzer 2020-02-16 10:35:13 -05:00
parent 93d7d61e19
commit f7cdd5c37d

View File

@ -4994,6 +4994,8 @@ A fuzzy-finder for notes.
:commands (deft) :commands (deft)
:init :init
(setq deft-extensions '("org" "txt" "md" "markdown" "text")) (setq deft-extensions '("org" "txt" "md" "markdown" "text"))
(leader-def-key "D" #'deft)
(leader-def-key "od" #'deft)
:config :config
(setq deft-use-filter-string-for-filename t (setq deft-use-filter-string-for-filename t
deft-file-naming-rules '((noslash . "-") deft-file-naming-rules '((noslash . "-")
@ -5002,7 +5004,6 @@ A fuzzy-finder for notes.
deft-auto-save-interval 0) deft-auto-save-interval 0)
(add-to-list 'evil-emacs-state-modes 'deft-mode)) (add-to-list 'evil-emacs-state-modes 'deft-mode))
(leader-def-key "D" #'deft)
#+END_SRC #+END_SRC
Tell Deft to use the TITLE property for entry titles, if it exists: Tell Deft to use the TITLE property for entry titles, if it exists: