summary refs log tree commit diff stats
path: root/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index e674c10f..b4f55139 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