From d2fcc5eb1c5b498b41a341b400a65111ab85219c Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Wed, 14 Sep 2011 16:05:59 +0200 Subject: EMACS: Added autocomplete --- .emacs.d/init.el | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.emacs.d/init.el') 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) -- cgit v1.2.3-54-g00ecf