Skip to content

Commit

Permalink
skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwilk committed Oct 20, 2013
0 parents commit 6d0b0f9
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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!
Empty file added config/.gitkeep
Empty file.
5 changes: 5 additions & 0 deletions config/bindings.el
Original file line number Diff line number Diff line change
@@ -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)
3 changes: 3 additions & 0 deletions info.el
Original file line number Diff line number Diff line change
@@ -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.")
7 changes: 7 additions & 0 deletions init.el
Original file line number Diff line number Diff line change
@@ -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")
Empty file added lib/.gitkeep
Empty file.

0 comments on commit 6d0b0f9

Please sign in to comment.