Update README.md

Update for the customization options for the midway action.

Fixes #46
old-master
joe di castro 11 years ago committed by Oleh Krehel
parent 1487ae155c
commit eef897e590
  1. 28
      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.

Loading…
Cancel
Save