From 113c8d05ddee33550ef14ee40e01429ca6dbc0b3 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 24 Jul 2026 14:57:01 -0700 Subject: emacs: Move ace-window config to init.org --- emacs/.emacs.d/init.org | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index f93f4e8..01f1bbf 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -274,7 +274,19 @@ Highlight diffs in the fringe. #+begin_src emacs-lisp (use-package ace-window :bind (("M-o" . ace-window) - ("C-x o"))) + ("C-x o")) + :custom-face + (aw-leading-char-face ((t (:foreground "#222424" :background "#ff9800")))) + :custom + (aw-keys '(?a ?r ?s ?t ?n ?e ?i ?o)) + :config + (defun oni-core-ace-window-select-other-window (window) + "Use ‘ace-window’ to select which window is considered “other”." + (interactive) + (setq other-window-scroll-buffer window)) + + (ace-window-posframe-mode) + (add-to-list 'aw-dispatch-alist '(?O oni-core-ace-window-select-other-window "Select window to be \"other\""))) #+end_src * Rest -- cgit v1.3-2-g0d8e