-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add Modifier key sequence to aw-dispatch-list ? #210
Comments
I just tried |
;; `M-o M-o' switches to the window you were previously in. |
cleyon's answer somewhat works, but it means |
For benefit of others who may have wished to bind something to C-k or similar you can achieve it with: |
Since For a complete example, here is my (straight-use-package 'ace-window)
(setq aw-dispatch-always t)
(setq aw-keys '(?a ?s ?d ?f ?j ?k ?l))
(setq 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")
(?b aw-switch-buffer-in-window "Select Buffer")
(?o switch-to-buffer)
(?\M-o aw-flip-window)
(?O aw-switch-buffer-other-window "Switch Buffer Other Window")
(?F aw-split-window-fair "Split Fair Window")
(?v aw-split-window-vert "Split Vert Window")
(?h aw-split-window-horz "Split Horz Window")
(?X delete-other-windows "Delete Other Windows")
(?? aw-show-dispatch-help)))
(global-set-key (kbd "M-o") #'ace-window)
(provide 'use-ace-window) |
I was just trying out the (define-key lispy-mode-map (kbd "M-o") nil) Just putting it here for the sake of copy-paste convenience. |
Hi,
I have global keybinding "M-o" set to ace-window. I would like the keybinding "M-o M-o" bound to "other-window" command. Most of the time I switch back to the recently used window when more than two windows exist.
Thanks
The text was updated successfully, but these errors were encountered: