Emacs: install and use company-mode
Alan Pearce alan@alanpearce.co.uk
Sat, 11 May 2013 11:48:39 +0100
2 files changed, 7 insertions(+), 0 deletions(-)
M emacs/elisp/el-get-setup.el → emacs/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.el → emacs/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