aboutsummaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org14
1 files changed, 13 insertions, 1 deletions
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