Closed zw963 closed 11 months ago
I was able to get this to work by queuing the "?" key command prior to calling ace-window
:
(progn
(setq unread-command-events (listify-key-sequence (kbd "?"))) ;; Queue "?" key command to be sent
(ace-window nil))
I was able to get this to work by queuing the "?" key command prior to calling
ace-window
:(progn (setq unread-command-events (listify-key-sequence (kbd "?"))) ;; Queue "?" key command to be sent (ace-window nil))
It works, thank you! following is my config:
(global-set-key [remap other-window] (lambda ()
(interactive)
(progn
(setq unread-command-events (listify-key-sequence (kbd "?"))) ;; Queue "?" key command to be sent
(ace-window nil))
))
Basically, after i invoke
ace-window
, i expect i can show following help immediately.(type ? automatially)Sure, i think a better way is to use hydra, like this.