deft: Fix create new file with filter text

The binding of `SPC m n` calls `deft-new-file`, which only uses the
filter text `(when deft-use-filter-string-for-filename)`, which is set
to nil originally. So we need to make it true.
This commit is contained in:
Andrew Schwartzmeyer 2016-04-25 21:46:34 -07:00 committed by syl20bnr
parent 27a665e616
commit 9cd73d61f7

View file

@ -33,6 +33,7 @@
(evil-insert-state nil)))
:config
(progn
(setq deft-use-filter-string-for-filename t)
(spacemacs/set-leader-keys-for-major-mode 'deft-mode
"d" 'deft-delete-file
"i" 'deft-toggle-incremental-search