From 208ea2a4e809f0c91caf3354b44a8f4a4f1cbb73 Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Tue, 23 Jan 2018 20:11:26 +0100 Subject: [PATCH] Change key suggestion "M-p" -> "M-o" "M-p" conflicts with e.g. `shell-mode' and the minibuffer binding. Fixes #123 --- README.md | 7 +++---- ace-window.el | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6884bb8..8cdf7fe 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,8 @@ and pack it into a single key binding, similar to `other-window`. ## Setup Just assign `ace-window` to a short key binding, as switching windows -is a common task. I suggest M-p, as it's short and not -bound in the default Emacs. +is a common task. I suggest M-o, as it's short and not +bound to anything important in the default Emacs. ## Usage @@ -77,7 +77,7 @@ have `aw-dispatch-always` set to `t`. ## Customization Aside from binding `ace-window`: - (global-set-key (kbd "M-p") 'ace-window) + (global-set-key (kbd "M-o") 'ace-window) the following customizations are available: @@ -161,4 +161,3 @@ When t, `ace-window` will ignore buffers and major-modes in ### `aw-ignore-current` When t, `ace-window` will ignore `selected-window'. - diff --git a/ace-window.el b/ace-window.el index d329c8b..1e3d0b1 100644 --- a/ace-window.el +++ b/ace-window.el @@ -35,9 +35,9 @@ ;; ;; To setup this package, just add to your .emacs: ;; -;; (global-set-key (kbd "M-p") 'ace-window) +;; (global-set-key (kbd "M-o") 'ace-window) ;; -;; replacing "M-p" with an appropriate shortcut. +;; replacing "M-o" with an appropriate shortcut. ;; ;; By default, ace-window uses numbers for window labels so the window ;; labeling is intuitively ordered. But if you prefer to type keys on