Hello everyone,<div><br></div><div>I've tried setting up the "jj" key combo to exit from insert mode in evil using key-chord, but it doesn't seem to work.</div><div><br></div><div>I'm using the following snippet:</div>
<div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> (key-chord-define evil-normal-state-map "jj" 'evil-force-normal-state)<br>
(key-chord-define evil-visual-state-map "jj" 'evil-change-to-previous-state)<br> (key-chord-define evil-insert-state-map "jj" 'evil-normal-state)<br> (key-chord-define evil-replace-state-map "jj" 'evil-normal-state)</blockquote>
</div><div><br></div><div>Key-chord.el is loaded, and I get no errors when evaluating the piece of code above. However, when I test by entering Evil's INSERT mode and trying to exit it by quickly pressing "j" followed by another "j", it stays at --INSERT--.</div>
<div><br></div><div>Any hints appreciated!</div><div><br></div><div>- Marcelo.</div>