summaryrefslogtreecommitdiff
path: root/emacs/inits/12-company.el
diff options
context:
space:
mode:
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))