From 6ae36fbe6aaf640dda9222de4ce001a57e367247 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 27 Sep 2025 13:57:31 +0200 Subject: [PATCH] Use additional shorter key binding for switching windows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `lispy` overwrites this binding, remove that. And while we are at it: don't let lispy load `semantic`, as we do not use it – I think. --- init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index b832ee8..5c483b3 100644 --- a/init.el +++ b/init.el @@ -2878,8 +2878,8 @@ Note that this workaround is incomplete, as explained in this comment." :commands (lispy-mode) :diminish lispy-mode :init (setopt lispy-no-permanent-semantic t) - :config (with-eval-after-load 'lispy-tags - (require 'semantic))) + :config (progn + (unbind-key "M-o" lispy-mode-map))) (use-package elisp-mode :config (add-hook 'emacs-lisp-mode-hook 'turn-on-flycheck-when-file)) @@ -3159,6 +3159,7 @@ Note that this workaround is incomplete, as explained in this comment." (bind-key "M-g g" #'avy-goto-line) (bind-key "M-g i" #'consult-imenu) (bind-key "M-j" #'(lambda () (interactive) (join-line -1))) + (bind-key "M-o" #'ace-window) (bind-key "M-z" #'zap-up-to-char) (bind-key [remap fill-paragraph] #'endless/fill-or-unfill)