Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Deft layer

Table of Content


Deft is an Emacs mode inspired by Notational Velocity for quickly browsing and creating notes.

Differences from default

This layer sets the default to use filenames for note titles as well as org-mode for editing. The default extension is org. The default configuration is set to recognize org, md, and txt extensions. If you prefer that Deft recognize other extensions set an alternate configuration by adding the following in your config file:

(setq deft-extensions '("org" "md" "txt"))

Just add or substitute your preferred extension.



To use this configuration layer, add it to your ~/.spacemacs. You will need to add deft to the existing dotspacemacs-configuration-layers list in this file.


By default deft tries to put notes in ~/.deft but you can change this like so in your dotspacemacs/user-config function:

(setq deft-directory "~/Dropbox/notes")

Key Bindings

Key BindingDescription
SPC a nOpen Deft (works globally)
SPC m dDelete selected note
SPC m rRename selected note
SPC m iToggle to regex search
SPC m nCreate new file with filter text