dev: Configure company mode keybindings
Disable the default `company-complete-selection` keybinding which was just return to still be able to enter a newline and use "M-RET" instead.
This commit is contained in:
parent
65d5fd8705
commit
6cbf405580
1 changed files with 7 additions and 0 deletions
|
@ -49,3 +49,10 @@
|
||||||
:config
|
:config
|
||||||
(setq lsp-ui-doc-position 'at-point)
|
(setq lsp-ui-doc-position 'at-point)
|
||||||
(setq lsp-ui-doc-show-with-mouse nil))
|
(setq lsp-ui-doc-show-with-mouse nil))
|
||||||
|
|
||||||
|
(use-package company
|
||||||
|
:ensure t
|
||||||
|
:bind (:map company-active-map
|
||||||
|
("RET" . nil)
|
||||||
|
("<return>" . nil)
|
||||||
|
("M-RET" . company-complete-selection)))
|
||||||
|
|
Loading…
Reference in a new issue