diff options
Diffstat (limited to 'emacs/.config/emacs-kj/init.el')
-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 f151f86..46956af 100644 --- a/emacs/.config/emacs-kj/init.el +++ b/emacs/.config/emacs-kj/init.el @@ -130,8 +130,6 @@ (setq company-idle-delay nil) (global-company-mode t)) -(setq max-mini-window-height 3) - (use-package selectrum :init (selectrum-mode +1)) @@ -591,9 +589,17 @@ ("C-c C-r C-f" . eglot-format) ("C-c C-r C-a" . eglot-code-actions) ("C-c C-i C-c" . insert-char) - ("C-<tab>" . completion-at-point))) + ("C-<tab>" . company-mode))) (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)) |