summaryrefslogtreecommitdiff
path: root/emacs/.doom.d/packages.el
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2020-10-17 15:36:28 -0400
committerKjetil Orbekk <kj@orbekk.com>2020-10-17 15:36:28 -0400
commit5441276b4545772d62fe21aef542f57ab646125b (patch)
tree116f638e399c63c51482fb44d8a0ad234fe7ef47 /emacs/.doom.d/packages.el
parent6a00e216d21bf953b9a8d8d505f131edd65a27de (diff)
Bag of changes
Diffstat (limited to 'emacs/.doom.d/packages.el')
-rw-r--r--emacs/.doom.d/packages.el51
1 files changed, 51 insertions, 0 deletions
diff --git a/emacs/.doom.d/packages.el b/emacs/.doom.d/packages.el
new file mode 100644
index 0000000..95c7e51
--- /dev/null
+++ b/emacs/.doom.d/packages.el
@@ -0,0 +1,51 @@
+;; -*- no-byte-compile: t; -*-
+;;; $DOOMDIR/packages.el
+
+;; To install a package with Doom you must declare them here, run 'doom sync' on
+;; the command line, then restart Emacs for the changes to take effect.
+;; Alternatively, use M-x doom/reload.
+
+
+;; Doom's packages are pinned to a specific commit and updated from release to
+;; release. The `unpin!' macro allows you to unpin single packages...
+;(unpin! pinned-package)
+;; ...or multiple packages
+;(unpin! pinned-package another-pinned-package)
+;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
+;(unpin! t)
+
+
+;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
+;(package! some-package)
+
+;; To install a package directly from a particular repo, you'll need to specify
+;; a `:recipe'. You'll find documentation on what `:recipe' accepts here:
+;; https://github.com/raxod502/straight.el#the-recipe-format
+;(package! another-package
+; :recipe (:host github :repo "username/repo"))
+
+;; If the package you are trying to install does not contain a PACKAGENAME.el
+;; file, or is located in a subdirectory of the repo, you'll need to specify
+;; `:files' in the `:recipe':
+;(package! this-package
+; :recipe (:host github :repo "username/repo"
+; :files ("some-file.el" "src/lisp/*.el")))
+
+;; If you'd like to disable a package included with Doom, for whatever reason,
+;; you can do so here with the `:disable' property:
+;(package! builtin-package :disable t)
+
+;; You can override the recipe of a built in package without having to specify
+;; all the properties for `:recipe'. These will inherit the rest of its recipe
+;; from Doom or MELPA/ELPA/Emacsmirror:
+;(package! builtin-package :recipe (:nonrecursive t))
+;(package! builtin-package-2 :recipe (:repo "myfork/package"))
+
+;; Specify a `:branch' to install a package from a particular branch or tag.
+;; This is required for some packages whose default branch isn't 'master' (which
+;; our package manager can't deal with; see raxod502/straight.el#279)
+;(package! builtin-package :recipe (:branch "develop"))
+
+;; (package! hledger-mode)
+
+(load-file "~/.doom.d/packages.local.el")