Mercurial > dotfiles
annotate .elisp/settings/10.company.el @ 439:2325dea339ca
smailq: vendor script to ease handling outgoing mail
From commit 5b83ca873f1dc9117a9b3590f0aa07fe2806fce9 of
http://git.sthu.org/repos/smailq.git - documented at
https://www.sthu.org/code/smailq.html.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Sat, 15 Jul 2017 12:57:17 -0400 |
parents | 46979cef73b6 |
children |
rev | line source |
---|---|
276
46979cef73b6
emacs: require and configure company mode
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
1 (require 'company) |
46979cef73b6
emacs: require and configure company mode
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
2 ;; bigger popup window |
46979cef73b6
emacs: require and configure company mode
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
3 (setq company-tooltip-limit 20) |
46979cef73b6
emacs: require and configure company mode
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
4 ;; autocomplete right after '.' |
46979cef73b6
emacs: require and configure company mode
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
5 (setq company-minimum-prefix-length 0) |
46979cef73b6
emacs: require and configure company mode
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
6 ;; shorter delay before autocompletion popup |
46979cef73b6
emacs: require and configure company mode
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
7 (setq company-idle-delay .3) |
46979cef73b6
emacs: require and configure company mode
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
8 ;; removes annoying blinking |
46979cef73b6
emacs: require and configure company mode
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
9 (setq company-echo-delay 0) |
46979cef73b6
emacs: require and configure company mode
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
10 ;; start autocompletion only after typing |
46979cef73b6
emacs: require and configure company mode
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
11 (setq company-begin-commands '(self-insert-command)) |