Compare commits

..

2 commits

Author SHA1 Message Date
853c462c33 git: Install the git-timemachine package 2024-10-16 14:25:57 +02:00
6cbf405580 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.
2024-10-16 14:21:06 +02:00
2 changed files with 10 additions and 0 deletions

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

View file

@ -15,3 +15,6 @@
:config :config
;; Turn on flyspell when writing commit messages ;; Turn on flyspell when writing commit messages
(add-hook 'git-commit-setup-hook 'git-commit-turn-on-flyspell)) (add-hook 'git-commit-setup-hook 'git-commit-turn-on-flyspell))
(use-package git-timemachine
:ensure t)