Activate a minor mode after exiting ryo-modal-mode
shadowrylander opened this issue · 1 comments
shadowrylander commented
Hello!
Perhaps a bit stupidly, I'd like to activate god-local-mode
after exiting ryo-modal-mode
; this is the configuration I'm currently attempting:
(ryo-modal-keys
;; First argument to ryo-modal-keys may be a list of keywords.
;; These keywords will be applied to all keybindings.
(:norepeat t)
("qq" save-buffers-kill-emacs)
("ww" save-buffer)
("pp" kill-emacs)
;; TODO
("ee" god-local-mode :exit t)
)
Unfortunately, since I'm using it with use-package
, it's stating that god-local-mode
is not a function. I was therefore wondering whether you could help me narrow down whether this is an issue with ryo-modal
, god-local-mode
, or use-package
.
Thank you kindly for the help!
shadowrylander commented
Ah; solved it by moving it out to a function of its own. Sorry for wasted issue!