Permalink
Browse files

add autocomplete

  • Loading branch information...
1 parent 3c64911 commit de11ceaa68d8dd1ada639efd3cf963b1298720ff @bostonaholic bostonaholic committed Mar 26, 2012
Showing with 14 additions and 7 deletions.
  1. +8 −0 .emacs.d/config-autocomplete.el
  2. +0 −3 .emacs.d/config-hooks.el
  3. +0 −4 .emacs.d/config-workarounds.el
  4. +1 −0 .emacs.d/init.el
  5. +5 −0 .gitignore
@@ -0,0 +1,8 @@
+;; auto-complete config
+(require 'auto-complete-config)
+(add-to-list 'ac-dictionary-directories (concat config-dir "ac-dict"))
+(ac-config-default)
+
+;; ac-slime config
+(add-hook 'slime-mode-hook 'set-up-slime-ac)
+(add-hook 'slime-repl-mode-hook 'set-up-slime-ac)
View
@@ -9,9 +9,6 @@
'(ignore-errors
(add-hook 'javascript-mode-hook 'esk-paredit-nonlisp)))
-;; ac-slime config
-;; (add-hook 'slime-mode-hook 'set-up-slime-ac)
-;; (add-hook 'slime-repl-mode-hook 'set-up-slime-ac)
;; ***************************************************************************
;; Automatically recompile the emacs init file on buffer-save or exit
;; ---------------------------------------------------------------------------
@@ -14,7 +14,3 @@
;; set mustache-mode
(require 'mustache-mode)
(add-to-list 'auto-mode-alist '("\\.hbs$" . mustache-mode))
-
-;; (add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
-;; (require 'auto-complete-config)
-;; (ac-config-default)
View
@@ -61,6 +61,7 @@
(setq font-lock-verbose nil)
;; load more config files
+(load "config-autocomplete")
(load "config-bindings")
(load "config-clojure-mode")
(load "config-cosmetics")
View
@@ -1,11 +1,16 @@
.DS_Store
.emacs.d/.smex-items
.emacs.d/abbrev_defs
+.emacs.d/ac-comphist.dat
+.emacs.d/ac-dict
+.emacs.d/auto-complete*
.emacs.d/auto-save-list
.emacs.d/backups
.emacs.d/elpa
.emacs.d/eshell
+.emacs.d/fuzzy.el
.emacs.d/places
+.emacs.d/popup.el
.emacs.d/swank
.emacs.d/url
*.elc

0 comments on commit de11cea

Please sign in to comment.