EMACS: Added autocomplete

This commit is contained in:
Tom Willemsen 2011-09-14 16:05:59 +02:00
parent 1377acf25f
commit d2fcc5eb1c

View file

@ -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)