blob: 235cff1f4bb18af75c1e462b2797e90f27ec1677 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
;; Configure package manager
(require 'package)
;; Add Marmalade repo
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
;; ... and melpa. Melpa packages that exist on marmalade will have
;; precendence.
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/"))
(package-initialize)
(when (not package-archive-contents)
(package-refresh-contents))
;; Important packages
(defvar my-pkgs '(starter-kit-bindings
haskell-mode
markdown-mode
magit
leuven-theme
projectile
rainbow-delimiters
nrepl
clojure-mode
ace-jump-mode
switch-window)
"A list of packages to install at launch.")
(dolist (p my-pkgs)
(when (not (package-installed-p p))
(package-install p)))
(load "~/.emacs.d/init-functions.el")
(load "~/.emacs.d/init-settings.el")
(setq custom-file "~/.emacs.d/init-custom.el")
(load custom-file)
;; IRC configuration (erc)
;; Actual servers and such are loaded from irc.el
(load "~/.emacs.d/irc")
;; Seed RNG
(random t)
;; Start server for emacsclient
(server-start)
|