Mercurial > dotfiles
changeset 276:46979cef73b6
emacs: require and configure company mode
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Fri, 27 Apr 2012 16:48:48 -0500 |
parents | 37babeba4a4a |
children | 884f7f932a83 |
files | .elisp/settings/00.bootstrap.el .elisp/settings/10.company.el |
diffstat | 2 files changed, 13 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/.elisp/settings/00.bootstrap.el +++ b/.elisp/settings/00.bootstrap.el @@ -23,7 +23,8 @@ magit paredit smex - yaml-mode)) + yaml-mode + company)) (unless (or (member pack package-activated-list) (functionp pack)) (message "Installing %s" (symbol-name pack))
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))