aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/init-company.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/init-company.el b/modules/init-company.el
index 5d89823..7cd0704 100644
--- a/modules/init-company.el
+++ b/modules/init-company.el
@@ -6,7 +6,10 @@
(use-package company
:defer 5
:diminish
- :commands (company-mode company-indent-or-complete-common)
+ :bind
+ (:map company-mode-map
+ ("<tab>" . company-complete)
+ ("<backtab>" . company-select-previous))
:config
;; Global
(setq company-idle-delay 1
@@ -23,8 +26,6 @@
(set-face-attribute 'company-scrollbar-bg nil :inherit 'company-tooltip :background "gray20")
(set-face-attribute 'company-scrollbar-fg nil :background "gray40"))
- (global-set-key (kbd "M-TAB") 'company-indent-or-complete-common)
-
;; Activating globally
(global-company-mode t))