diff options
author | Alan Pearce | 2013-05-11 11:48:39 +0100 |
---|---|---|
committer | Alan Pearce | 2013-05-11 11:48:39 +0100 |
commit | a943a2b3b4460c4857524c830c8d23d70d8141f1 (patch) | |
tree | 775b91c7999ace197f65de48b76dfe3cb0457e26 /emacs/init.el | |
parent | f06a560f3305aa3f0eefa7c4663f3ec448d84a01 (diff) | |
download | dotfiles-a943a2b3b4460c4857524c830c8d23d70d8141f1.tar.lz dotfiles-a943a2b3b4460c4857524c830c8d23d70d8141f1.tar.zst dotfiles-a943a2b3b4460c4857524c830c8d23d70d8141f1.zip |
Emacs: install and use company-mode
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el index e674c10..b4f5513 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -296,6 +296,12 @@ (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 |