diff options
author | Jesús <heckyel@hyperbola.info> | 2021-12-05 16:41:35 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-12-05 16:41:35 -0500 |
commit | f53864a71460ac5b9d119a7e3450620b2eb638e6 (patch) | |
tree | 6a26da5ae11384e59c4afe779018d9d34f85827a | |
parent | 32ca32490009e53046d43afddd939dba27d9bbb6 (diff) | |
download | emacs-personal-f53864a71460ac5b9d119a7e3450620b2eb638e6.tar.lz emacs-personal-f53864a71460ac5b9d119a7e3450620b2eb638e6.tar.xz emacs-personal-f53864a71460ac5b9d119a7e3450620b2eb638e6.zip |
company: prevent breaks ivy's completion in minibuffer
-rw-r--r-- | modules/init-company.el | 7 |
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)) |