all repos — archive/dotfiles @ a943a2b3b4460c4857524c830c8d23d70d8141f1

Superseded by nixfiles

Emacs: install and use company-mode

Alan Pearce
commit

a943a2b3b4460c4857524c830c8d23d70d8141f1

parent

f06a560f3305aa3f0eefa7c4663f3ec448d84a01

2 files changed, 7 insertions(+), 0 deletions(-)

jump to
M emacs/elisp/el-get-setup.elemacs/elisp/el-get-setup.el
@@ -22,6 +22,7 @@ auto-compile
auto-indent-mode autopair ace-jump-mode + company dired+ diminish expand-region
M emacs/init.elemacs/init.el
@@ -296,6 +296,12 @@ :config (progn
(nconc smart-tab-completion-functions-alist '((php-mode . php-complete-function))) (diminish 'smart-tab-mode ""))) +(use-package company + :commands (company-mode) + :bind (("C-<tab>" . company-complete)) + :init (progn + (add-hook 'prog-mode-hook #'company-mode))) + ;;;; Directory browsing (use-package dired :defer t