about summary refs log tree commit diff
path: root/init.el
diff options
context:
space:
mode:
authorVincent Ambo <vincent@spotify.com>2013-10-14T06·50+0200
committerVincent Ambo <vincent@spotify.com>2013-10-14T06·50+0200
commitcbecd5031d57528c39b61e16f2aad850f40b49a1 (patch)
treeef073e5dfef369f2b4f72d9fce012becd2bd61ee /init.el
parenta4e7f10362c807e5494debc2810f490cb2350608 (diff)
Add YaSnippet & enable Uniquify
- Added YaSnippet & clojure-snippets for it
- Enabled uniquify buffer naming (oh so good)
- various smaller things
Diffstat (limited to 'init.el')
-rw-r--r--init.el15
1 files changed, 11 insertions, 4 deletions
diff --git a/init.el b/init.el
index cb35667772c6..473a7b677789 100644
--- a/init.el
+++ b/init.el
@@ -25,7 +25,6 @@
     idle-highlight-mode
     ido-ubiquitous
     iy-go-to-char
-    leuven-theme
     magit
     markdown-mode
     multiple-cursors
@@ -37,7 +36,8 @@
     rainbow-mode
     smex
     switch-window
-    undo-tree)
+    undo-tree
+    yasnippet)
   "A list of packages to install at launch.")
 
 (dolist (p my-pkgs)
@@ -49,8 +49,15 @@
 
 (add-to-list 'load-path user-emacs-directory)
 
-(mapc 'require '(init-functions
-                 init-settings
+(require 'init-functions)
+
+(unless (file-exists-p "~/.emacs.d/snippets")
+  (make-directory "~/.emacs.d/snippets"))
+
+(custom-clone-git "http://github.com/swannodette/clojure-snippets"
+                  "snippets/clojure-mode")
+
+(mapc 'require '(init-settings
                  init-modes
                  init-bindings
                  init-eshell))