diff .elisp/settings/10.company.el @ 276:46979cef73b6

emacs: require and configure company mode
author Augie Fackler <raf@durin42.com>
date Fri, 27 Apr 2012 16:48:48 -0500
parents
children
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/.elisp/settings/10.company.el
@@ -0,0 +1,11 @@
+(require 'company)
+;; bigger popup window
+(setq company-tooltip-limit 20)
+;; autocomplete right after '.'
+(setq company-minimum-prefix-length 0)
+;; shorter delay before autocompletion popup
+(setq company-idle-delay .3)
+;; removes annoying blinking
+(setq company-echo-delay 0)
+;; start autocompletion only after typing
+(setq company-begin-commands '(self-insert-command))