From bcc35b5e1534f07e6fb91af8a621d665558a3dc2 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Fri, 7 Jun 2024 19:49:41 +0200 Subject: [PATCH] feat: add ace-window for switching windows --- init.el | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 78b8a2a..37b564f 100644 --- a/init.el +++ b/init.el @@ -264,8 +264,16 @@ xref-show-definitions-function #'consult-xref) :config (recentf-mode 1) - (setq consult-narrow-key "<") - ) + (setq consult-narrow-key "<")) + +(my-use-package ace-window + :ensure t + :custom + (aw-keys '(?a ?s ?d ?f ?g ?h ?j ?k ?l)) + (aw-char-position 'left) + (aw-leading-char-style 'char) + (aw-scope 'frame) + :bind (("M-o" . ace-window))) (my-use-package savehist :init -- 2.48.1