diff --git a/README.md b/README.md new file mode 100644 index 0000000..ffd149a --- /dev/null +++ b/README.md @@ -0,0 +1,32 @@ +## User Pack Template + +This is a template for your own user (or other purpose) pack. + +### init.el + +Use the file `init.el` for your own configuration elisp. If this starts +getting unwieldy then you might want to break out the config into +separate files which you can store in the config directory. + +### config + +Files placed in the `config` dir may then be referenced and pulled into +your `init.el` via the fn `live-load-config-file`. For example, if you +have the file config/foo.el then you may load it in with: + + (live-load-config-file "foo.el") + +### lib + + If you want to pull in external libraries into your pack, then you + should place the libraries within the lib dir. To add a directory + within the pack's lib directory to the Emacs load path (so that it's + contents are available to require) you can use the fn + `live-add-pack-lib`. For example, if you have the external library bar + stored in lib which contains the file `baz.el` which you wish to + require, this may be achieved by: + + (live-add-pack-lib "bar") + (require 'baz) + + Have fun! diff --git a/config/.gitkeep b/config/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/config/bindings.el b/config/bindings.el new file mode 100644 index 0000000..57a3f99 --- /dev/null +++ b/config/bindings.el @@ -0,0 +1,5 @@ +;; Place your bindings here. + +;; For example: +;;(define-key global-map (kbd "C-+") 'text-scale-increase) +;;(define-key global-map (kbd "C--") 'text-scale-decrease) diff --git a/info.el b/info.el new file mode 100644 index 0000000..1ad92e4 --- /dev/null +++ b/info.el @@ -0,0 +1,3 @@ +(live-pack-name "user-template-pack") +(live-pack-version "0.0.1alpha") +(live-pack-description "Your own user pack - modify and customise this to your hearts content.") diff --git a/init.el b/init.el new file mode 100644 index 0000000..0eb54ea --- /dev/null +++ b/init.el @@ -0,0 +1,7 @@ +;; User pack init file +;; +;; Use this file to initiate the pack configuration. +;; See README for more information. + +;; Load bindings config +(live-load-config-file "bindings.el") diff --git a/lib/.gitkeep b/lib/.gitkeep new file mode 100644 index 0000000..e69de29