I want to exit evil-mode's operator pending state when I press "jk" in quick succession.
For example, If I press d
, and then jk
, nothing should be deleted and Emacs should be in normal mode.
I tried using key-chord.el to exit the operator mode like so, but it didn't work.
(key-chord-define evil-operator-state-map "jk" 'evil-force-normal-state)
A similar question was how to exit isearch with "jk": key chords in isearch. I think the solution might require a similar approach.