Table of Contents

Deft layer

Table of ContentsClose

1 Description

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

1.1 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.

2 Install

2.1 Layer

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.

2.2 Configuration

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")

3 Key Bindings

Key Binding Description
SPC a n Open Deft (works globally)
SPC m d Delete selected note
SPC m r Rename selected note
SPC m i Toggle to regex search
SPC m n Create new file with filter text

Author: Sylvain Benner

Created: 2016-10-03 Mon 00:55

Validate