branch: master commit eef897e590c4ce63c28fd29ebff3c97aec8a69ae Author: joe di castro <j...@joedicastro.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
Update README.md Update for the customization options for the midway action. Fixes #46 --- README.md | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index ca1885a..bdd1452 100644 --- a/README.md +++ b/README.md @@ -90,3 +90,31 @@ where to look, i.e. the top-left corners of each window. So you can turn off the gray background with: (setq aw-background nil) + +### `aw-dispatch-always` + +When non-nil, `ace-window` will issue a `read-char` event for one window. +This will make `ace-window` act different from `other-window` for one +or two windows. This is useful to be able to change the action midway +and execute other action other than the *jump* default. +By default is set to `nil` + +### `aw-dispatch-alist` + +This is the list of actions that you can trigger from `ace-window` other than the +*jump* default. +By default is: + + (defvar aw-dispatch-alist + '((?x aw-delete-window " Ace - Delete Window") + (?m aw-swap-window " Ace - Swap Window") + (?n aw-flip-window) + (?v aw-split-window-vert " Ace - Split Vert Window") + (?b aw-split-window-horz " Ace - Split Horz Window") + (?i delete-other-windows " Ace - Maximize Window") + (?o delete-other-windows)) + "List of actions for `aw-dispatch-default'.") + +If the pair key-action is followed by a string, then `ace-window` will be +invoked again to be able to select on which window you want to select the +action. Otherwise the current window is selected.