From 94ce26454f0110a617659ae74c230913ce1f9bdf Mon Sep 17 00:00:00 2001 From: Israel Bernal Date: Thu, 13 Oct 2022 20:42:39 +0200 Subject: [PATCH 1/2] add example of aw-dispatch-list usage --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 45e196b..16a5829 100644 --- a/README.md +++ b/README.md @@ -144,6 +144,13 @@ When using ace-window, if the action character is followed by a string, then `ace-window` will be invoked again to select the target window for the action. Otherwise, the current window is selected. +If for instance you would like to close a window, when several are open, +you can do: + + `M-o ? x 2` + +Where `n` is the window number, in order to close window number `n`. + ### `aw-minibuffer-flag` When non-nil, also display `ace-window-mode` string in the minibuffer From 3c75e91e9720aa75e185b6421d9ad150752e36da Mon Sep 17 00:00:00 2001 From: Israel Bernal Date: Thu, 13 Oct 2022 20:45:16 +0200 Subject: [PATCH 2/2] change from number to variable in example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 16a5829..b0ceb08 100644 --- a/README.md +++ b/README.md @@ -147,7 +147,7 @@ the action. Otherwise, the current window is selected. If for instance you would like to close a window, when several are open, you can do: - `M-o ? x 2` + M-o ? x n Where `n` is the window number, in order to close window number `n`.