summaryrefslogtreecommitdiffstats
path: root/.emacs.d
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-09-14 16:05:59 +0200
committerGravatar Tom Willemsen2011-09-14 16:05:59 +0200
commitd2fcc5eb1c5b498b41a341b400a65111ab85219c (patch)
treeeef6e9c923933b150488e4a178fa781e8bdc3f46 /.emacs.d
parent1377acf25f1f3e47dad21d15393dafb675ba288c (diff)
downloaddotfiles-d2fcc5eb1c5b498b41a341b400a65111ab85219c.tar.gz
dotfiles-d2fcc5eb1c5b498b41a341b400a65111ab85219c.zip
EMACS: Added autocomplete
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 4838c6d..cfbb9a0 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -381,6 +381,12 @@
;;-----[ Windmove ]------------------------------------------------------
(windmove-default-keybindings 'meta)
+;;-----[ Autocomplete ]--------------------------------------------------
+(when (require 'auto-complete-config nil 'noerror)
+ (add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
+ (setq ac-comphist-file "~/.emacs.d/ac-comphist.dat")
+ (ac-config-default))
+
;;-----[ Misc ]----------------------------------------------------------
(defun oni/reload-buffer
(interactive)