Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Update for the customization options for the midway action.

Fixes #46
  • Loading branch information
joedicastro authored and abo-abo committed May 12, 2015
1 parent 1487ae1 commit eef897e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit eef897e

Please sign in to comment.