abo-abo / ace-window

Quickly switch windows in Emacs
965 stars 85 forks source link

how to use aw-dispatch-list #235

Closed jbernalr closed 1 year ago

jbernalr commented 1 year ago

I have set theaw-dispatch-list like the default:

(defvar aw-dispatch-alist '((?x aw-delete-window "Delete Window") (?m aw-swap-window "Swap Windows") (?M aw-move-window "Move Window") (?c aw-copy-window "Copy Window") (?j aw-switch-buffer-in-window "Select Buffer") (?n aw-flip-window) (?u aw-switch-buffer-other-window "Switch Buffer Other Window") (?c aw-split-window-fair "Split Fair Window") (?v aw-split-window-vert "Split Vert Window") (?b aw-split-window-horz "Split Horz Window") (?o delete-other-windows "Delete Other Windows") (?? aw-show-dispatch-help)) "List of actions foraw-dispatch-default'.") ``

but I cannot trigger this bindings. M-o does work and lets me jump among windows. But how do I use the above mentioned key bindings. I need a mickey maus example I guess.

jbernalr commented 1 year ago

never mind, I solved it 🤦‍♂️ use the following for instance to close a window: M-o ?x 2, where 2 is the window number