<div>I just tested it again, although some minor thing is not handled elegantly, for example, the cursor and the state indicator letter is not changing to confirm with the current state, it did work. Sorry about that.</div>
<div><br></div><div>On the other hand, I still think the document is a bit confusing, the wording is &quot;Escape from Emacs state to Vi state&quot;, I didn&#39;t think &#39;Emacs&#39; state is identical to &#39;insert&#39; state. Maybe my understanding was not correct? :)</div>
<div><br></div><div>Thanks,</div><div><br></div><div>York</div><div><br></div><div><br></div><div>On Mon, May 2, 2011 at 4:46 AM, Vegard �ye &lt;<a href="mailto:vegard_oye@hotmail.com">vegard_oye@hotmail.com</a>&gt; wrote:</div>
<div>On 2011-05-01 18:44 +0200, York Zhao wrote:</div><div><br></div><div>&gt; In our case here, the existing &#39;viper-escape-to-vi&#39; function escapes</div><div>&gt; to command mode but never comes back to insert mode again, thus, I</div>
<div>&gt; don&#39;t think it can be binded directly to &#39;C-o&#39;</div><div><br></div><div>It does come back to Insert state in my setup (Viper version 3.14</div><div>of November 22, 2008). Here is the docstring of `viper-escape-to-vi&#39;:</div>
<div><br></div><div>�� Escape from Emacs state to Vi state for one Vi 1-character</div><div>�� command. If the Vi command that the user types has a prefix</div><div>�� argument, e.g., `d2w&#39;, then Vi&#39;s prefix argument will be used.</div>
<div>�� Otherwise, the prefix argument passed to `viper-escape-to-vi&#39;</div><div>�� is used.</div><div><br></div><div>If I am in vi state and type &quot;i C-o x e&quot;, then I enter Insert state,</div><div>delete the character under the cursor, and insert &quot;e&quot;; I remain in</div>
<div>Insert state.</div><div><br></div><div>--</div><div>Vegard</div><div><br></div><div>_______________________________________________</div><div>implementations-list mailing list</div><div><a href="mailto:implementations-list@lists.ourproject.org">implementations-list@lists.ourproject.org</a></div>
<div><a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list">https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list</a></div><div><br></div>