summaryrefslogtreecommitdiff
path: root/emacs/inits/12-company.el
blob: d514496c1d052df470dcd44415d704aefc7cfc57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;; Time-stamp: <2019-01-26 12:50:26 (tslil@winslow)>

(use-package company :ensure t
  :bind (("M-<tab>" . company-complete)
         :map company-active-map
         ("C-n" . company-select-next)
         ("C-p" . company-select-previous))

  :config
  (setq company-begin-commands '(self-insert-command)
        company-idle-delay 1
        company-require-match nil
        company-show-numbers t
        company-auto-complete 'company-explicit-action-p
        company-tooltip-align-annotations t)

  (global-company-mode))