diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-10-13 07:11:38 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-10-13 07:11:38 -0400 |
commit | 8961d8abacdbc560875263080d80e16fa7b3bcdb (patch) | |
tree | b3fdc2999999910e18d94a16a8e3675f854e70f7 /emacs | |
parent | bfb3f84663d93d665b52fd43996dc67788319d13 (diff) |
Fix eglot completion
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.config/emacs-kj/init.el | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el index e079a39..4a74a97 100644 --- a/emacs/.config/emacs-kj/init.el +++ b/emacs/.config/emacs-kj/init.el @@ -116,8 +116,6 @@ (setq company-idle-delay nil) (global-company-mode t)) -(setq max-mini-window-height 3) - (use-package selectrum :init (selectrum-mode +1)) @@ -567,9 +565,17 @@ ("C-c C-r C-e" . consult-flymake) ("C-c C-r C-f" . eglot-format) ("C-c C-r C-a" . eglot-code-actions) - ("C-<tab>" . completion-at-point))) + ("C-<tab>" . company-complete))) (let ((google-config-file (expand-file-name "google.el" user-emacs-directory))) (when (file-exists-p google-config-file) (load-file google-config-file))) + +(define-key isearch-mode-map [(control return)] + #'isearch-exit-other-end) +(defun isearch-exit-other-end () + "Exit isearch, at the opposite end of the string." + (interactive) + (isearch-exit) + (goto-char isearch-other-end)) |