diff --git a/emacs.el b/emacs.el index c752466..f21d4f5 100644 --- a/emacs.el +++ b/emacs.el @@ -854,6 +854,13 @@ IF OK-IF-ALREADY-EXISTS is true force download." ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; some modes and hooks +;; http://qiita.com/sune2/items/b73037f9e85962f5afb7 +(global-company-mode) +(set-variable 'company-idle-delay 0.5) +(set-variable 'company-minimum-prefix-length 2) +(set-variable 'company-selection-wrap-around t) + + ;; https://github.com/lunaryorn/flycheck (when (safe-require-or-eval 'flycheck) (call-after-init 'global-flycheck-mode))