Closed oxalorg closed 2 years ago
I want to replicate this behaviour in corkey
(evil-define-key 'insert 'global (kbd "9") "(" (kbd "0") ")" (kbd "(") "9" (kbd ")") "0")
I have tried the following:
(normal|visual ...) (insert ("0" "Open bracket" ")"))
and
(normal|visual ... (insert ("0" "remap" ")")))
But both didn't work.
Maybe
;; = 'normal' | 'insert' | 'visual' | 'emacs' | 'motion'
state should have an empty value for the topmost form, so that others can be nested inside it
eg:
("" (normal|visual ...) (insert ("0" "remap" ")"))))
Looks like this commit should fix it: https://github.com/lambdaisland/corgi-packages/commit/58ba47e2de5453d50cfd0fbe6a77f2ab5c7fb132
I want to replicate this behaviour in corkey
I have tried the following:
and
But both didn't work.
Maybe
state should have an empty value for the topmost form, so that others can be nested inside it
eg: