spacemacs/layers/+tools/deft
syl20bnr ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
..
packages.el Revert "Defer packages by default using use-package-always-defer" 2018-03-03 23:40:10 -05:00
README.org Fix doc for graphviz, deft and finance layer 2018-02-04 06:21:44 +02:00

Deft layer

Description

This layer adds a search driven note taking system into Spacemacs.

Features:

  • Browsing and creating notes with a powerfull search function via Deft.
  • Integration of org-mode as note editor.
  • Configurable list of extensions to recognize as notes.

Install

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.

Configuration

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

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

By default Deft uses filenames for note titles and org-mode for editing. The default extension for new notes is org. However also md and txt files are recognized as notes. Which extensions are used for notes discovery can be configured in your dotfile:

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

Just add or substitute your preferred extension.

Key Bindings

Key Binding Description
SPC a n Open Deft (works globally)
SPC m c Clear deft filter
SPC m d Delete selected note
SPC m i Toggle to regex search
SPC m n Create new file with filter text
SPC m N Create new file named
SPC m o Deft open file in other window
SPC m r Rename selected note
SPC m q quit deft window