This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/deft
Colin McLear b0e7566f92 Remove deprecated "deft-extension" and add setting for recognition of multiple extensions
Change README to reflect change in recognition of extensions

Modify "deft-extensions" example in README

Clarify README config instructions
2015-09-23 23:10:17 -04:00
..
packages.el Remove deprecated "deft-extension" and add setting for recognition of multiple extensions 2015-09-23 23:10:17 -04:00
README.org Remove deprecated "deft-extension" and add setting for recognition of multiple extensions 2015-09-23 23:10:17 -04:00

Deft configuration layer for Spacemacs

Description

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.

Install

Layer

To use this contribution add it to your ~/.spacemacs

  (setq-default dotspacemacs-configuration-layers '(deft))

Configuration

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

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

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