diff --git a/dotfiles/emacs.d/ac-comphist.dat b/dotfiles/emacs.d/ac-comphist.dat new file mode 100644 index 0000000..0234df8 --- /dev/null +++ b/dotfiles/emacs.d/ac-comphist.dat @@ -0,0 +1,4 @@ +((("Packages" . + [0 0 0 1 0 0 0 0]) + ("require" . + [2 0 0 0 0 0 0]))) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index d630fdd..53ea136 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -92,6 +92,17 @@ (ido-mode 1) ;;------------------------------------------------------------------------------------- +;; Enable Autocomplete +;; +;; NOTE: You can replace the 't' in (setq ac-auto-start t) with a positive integer +;; to trigger autocompletion only after that number of characters. This will +;; improve performance on slower systems. +;;------------------------------------------------------------------------------------- + +(global-auto-complete-mode t) +(setq ac-auto-start t) + +;;------------------------------------------------------------------------------------- ;; ZSH script detection ;;------------------------------------------------------------------------------------