Fix enter triggering company
This commit is contained in:
parent
c42f387f45
commit
31b718f975
2
init.el
2
init.el
|
@ -211,6 +211,8 @@
|
||||||
company-sort-by-backend-importance
|
company-sort-by-backend-importance
|
||||||
company-sort-by-occurrence))
|
company-sort-by-occurrence))
|
||||||
(define-key company-active-map (kbd "<return>") nil)
|
(define-key company-active-map (kbd "<return>") nil)
|
||||||
|
(define-key company-active-map (kbd "return") nil)
|
||||||
|
(define-key company-active-map (kbd "RET") nil)
|
||||||
(define-key company-active-map (kbd "M-`") #'company-complete-selection)
|
(define-key company-active-map (kbd "M-`") #'company-complete-selection)
|
||||||
(define-key company-active-map (kbd "M-n") #'company-select-next)
|
(define-key company-active-map (kbd "M-n") #'company-select-next)
|
||||||
(define-key company-active-map (kbd "M-p") #'company-select-previous)
|
(define-key company-active-map (kbd "M-p") #'company-select-previous)
|
||||||
|
|
Loading…
Reference in a new issue