Bind TAB to indent and completion

This commit is contained in:
contrapunctus 2022-01-21 23:46:48 +05:30
parent fad24f9910
commit dc4095c505
1 changed files with 3 additions and 6 deletions

View File

@ -3197,12 +3197,9 @@ But with =initials=, the desired completion is often buried in the results. That
(special-mode . company-mode)
(comint-mode . company-mode)
(slime-repl-mode . company-mode)
:bind ;; ("TAB" . company-indent-or-complete-common)
("TAB" . #'company-complete-common-or-cycle)
("C-i" . #'company-complete-common-or-cycle)
(:map emacs-lisp-mode-map
("TAB" . #'company-complete-common-or-cycle)
("C-i" . #'company-complete-common-or-cycle))
:bind
("TAB" . #'company-indent-or-complete-common)
("C-i" . #'company-indent-or-complete-common)
(:map company-active-map
("C-c" . company-select-previous)
("C-r" . company-select-next)