summary refs log tree commit diff
path: root/configs/rcs/emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--configs/rcs/emacs.d/init.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/configs/rcs/emacs.d/init.el b/configs/rcs/emacs.d/init.el
index 48f5f6a..f7ed8eb 100644
--- a/configs/rcs/emacs.d/init.el
+++ b/configs/rcs/emacs.d/init.el
@@ -303,6 +303,15 @@
 
 ;;; prog mode
 
+(use-package company
+  :commands company-mode fcuny/company
+  :bind (("C-/" . company-complete))
+  :config
+  (setq company-idle-delay .25)
+  (global-company-mode)
+  :init
+  (add-hook 'prog-mode-hook (lambda () (company-mode t))))
+
 (use-package flycheck
   :custom
   (flycheck-idle-change-delay 2)