Deft is a major mode for creating, browsing, and filtering notes written in plain text formats, such as org-mode, markdown, and LaTeX. It enables you to quickly jot down thoughts and easily retrieve them later.
This module has no dedicated maintainers.
This module provides no flags.
This module has no prerequisites.
To use deft, you first need to specify the directory in which your notes are stored:
;; ~/.doom.d/config.el
(setq deft-directory "~/notes")
The default note format is org-mode. You can change this by setting the value of
the variable deft-default-extension
. Replacing the value with "md"
, for example,
will change the default note format to markdown:
(setq deft-default-extension "md")
You may also want to alter the way titles and file names are automatically created by editing deft-use-filename-as-title
and/or deft-use-filter-string-for-filename
.
Further customization options can be found here: https://github.com/jrblevin/deft#other-customizations
It is not recommended to re-enable deft’s buffer auto-save.