about summary refs log tree commit diff
path: root/init-modes.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-modes.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-modes.el')
-rw-r--r--init-modes.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/init-modes.el b/init-modes.el
index 7a6a8e21b077..9c766de69d54 100644
--- a/init-modes.el
+++ b/init-modes.el
@@ -1,10 +1,13 @@
-(mapc 'require '(projectile hi2 ac-nrepl))
+(mapc 'require '(projectile hi2 ac-nrepl yasnippet))
 ;; Initializes modes I use.
 
 (add-hook 'prog-mode-hook 'esk-pretty-lambdas)
 (add-hook 'prog-mode-hook 'esk-add-watchwords)
 (add-hook 'prog-mode-hook 'idle-highlight-mode)
 
+;; Yasnippet everywhere + activate Clojure snippets!
+(yas-global-mode 1)
+
 ;; Configure markdown-mode
 (autoload 'markdown-mode "markdown-mode"
   "Major mode for editing Markdown files" t)