summaryrefslogtreecommitdiff
path: root/emacs/inits/12-company.el
diff options
context:
space:
mode:
authortslil clingman <>2019-09-11 19:18:14 -0400
committertslil clingman <>2019-09-11 19:18:14 -0400
commitac1a4884d03fc0495c773500d8a13f84b695fa43 (patch)
tree29e5ec49e0ce957d80d8f11a155b47840c74f488 /emacs/inits/12-company.el
Init
Diffstat (limited to 'emacs/inits/12-company.el')
-rw-r--r--emacs/inits/12-company.el17
1 files changed, 17 insertions, 0 deletions
diff --git a/emacs/inits/12-company.el b/emacs/inits/12-company.el
new file mode 100644
index 0000000..d514496
--- /dev/null
+++ b/emacs/inits/12-company.el
@@ -0,0 +1,17 @@
+;; Time-stamp: <2019-01-26 12:50:26 (tslil@winslow)>
+
+(use-package company :ensure t
+ :bind (("M-<tab>" . company-complete)
+ :map company-active-map
+ ("C-n" . company-select-next)
+ ("C-p" . company-select-previous))
+
+ :config
+ (setq company-begin-commands '(self-insert-command)
+ company-idle-delay 1
+ company-require-match nil
+ company-show-numbers t
+ company-auto-complete 'company-explicit-action-p
+ company-tooltip-align-annotations t)
+
+ (global-company-mode))