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:
finga 2024-10-16 14:21:06 +02:00
parent 65d5fd8705
commit 6cbf405580

View file

@ -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)))