Commit 462dd37d authored by Jason Blevins's avatar Jason Blevins

Instructions for unstable installation and use-package

parent 4adbe91b
......@@ -62,6 +62,16 @@ clone the Git repository [on GitHub](https://github.com/jrblevin/deft):
git clone https://github.com/jrblevin/deft.git
If you prefer to install and use the development version, which may
become unstable at some times, you can either clone the Git
repository as above or install Deft from
[MELPA](https://melpa.org/#/deft).
If you clone the repository directly, then make sure that Emacs can
find it by adding the following line to your startup file:
(add-to-list 'load-path "/path/to/deft/repository")
Overview
--------
......@@ -207,6 +217,18 @@ file:
(global-set-key [f8] 'deft)
If you manage loading packages with [use-package][], then you can
configure by adding a declaration such as this one to your init
file:
(use-package deft
:bind ("<f8>" . deft)
:commands (deft)
:config (setq deft-directory "~/Dropbox/notes"
deft-extensions '("md" "org")))
[use-package]: https://github.com/jwiegley/use-package
Reading Files
-------------
......
......@@ -88,6 +88,16 @@
;; git clone https://github.com/jrblevin/deft.git
;; If you prefer to install and use the development version, which may
;; become unstable at some times, you can either clone the Git
;; repository as above or install Deft from
;; [MELPA](https://melpa.org/#/deft).
;; If you clone the repository directly, then make sure that Emacs can
;; find it by adding the following line to your startup file:
;; (add-to-list 'load-path "/path/to/deft/repository")
;; Overview
;; --------
......@@ -233,6 +243,18 @@
;; (global-set-key [f8] 'deft)
;; If you manage loading packages with [use-package][], then you can
;; configure by adding a declaration such as this one to your init
;; file:
;; (use-package deft
;; :bind ("<f8>" . deft)
;; :commands (deft)
;; :config (setq deft-directory "~/Dropbox/notes"
;; deft-extensions '("md" "org")))
;; [use-package]: https://github.com/jwiegley/use-package
;; Reading Files
;; -------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment