<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 "Escape from Emacs state to Vi state", I didn't think 'Emacs' state is identical to 'insert' 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 <<a href="mailto:vegard_oye@hotmail.com">vegard_oye@hotmail.com</a>> wrote:</div>
<div>On 2011-05-01 18:44 +0200, York Zhao wrote:</div><div><br></div><div>> In our case here, the existing 'viper-escape-to-vi' function escapes</div><div>> to command mode but never comes back to insert mode again, thus, I</div>
<div>> don't think it can be binded directly to 'C-o'</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':</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', then Vi's prefix argument will be used.</div>
<div>�� Otherwise, the prefix argument passed to `viper-escape-to-vi'</div><div>�� is used.</div><div><br></div><div>If I am in vi state and type "i C-o x e", then I enter Insert state,</div><div>delete the character under the cursor, and insert "e"; 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>