Does Tag :mode really support minor mode?
WeissP opened this issue · 1 comments
WeissP commented
(ryo-modal-keys
("l" left-char :mode 'hl-todo-mode)
)
(ryo-modal-keys
("l" right-char)
)
if i understand correctly, the key "l" should move cursor to the right when hl-todo-mode is disabled and to the left if hl-todo-mode is enabled. But actually it move cursor always to the right even if the hl-todo-mode is enabled.
(hl-todo-mode is just an example, other minor modes should be the same.)
WeissP commented
Ah i figured it out, so every time i enable or disable hl-todo-mode(or another minor mode), i must eval ryo-modal-mode
again, so that the keybindings can be reloaded.