working system
This commit is contained in:
commit
e0ad4ea627
53 changed files with 2927 additions and 0 deletions
17
lisp/init-company.el~
Normal file
17
lisp/init-company.el~
Normal file
|
@ -0,0 +1,17 @@
|
|||
;;; init-company.el --- Companyy autocompletion
|
||||
;;; Commentary:
|
||||
;;; Code:
|
||||
(when (maybe-require-package 'company)
|
||||
(diminish 'company-mode)
|
||||
(add-hook 'after-init-hook 'global-company-mode)
|
||||
(setq company-minimum-prefix-length 1
|
||||
company-idle-delay 0.1
|
||||
company-selection-wrap-around t
|
||||
company-tooltip-align-annotations t
|
||||
company-frontends '(company-pseudo-tooltip-frontend ; show tooltip even for single candidate
|
||||
company-echo-metadata-frontend))
|
||||
(define-key company-active-map (kbd "C-n") 'company-select-next)
|
||||
(define-key company-active-map (kbd "C-p") 'company-select-previous)
|
||||
)
|
||||
(provide 'init-company)
|
||||
;;; end of file init-company.el
|
Loading…
Add table
Add a link
Reference in a new issue