When in Select mode you are still in sort-of Normal mode.  Your
autocommand will have to take care of mode stuff by itself.  You can use
CTRL-\ CTRN-N to make sure you are in Normal mode.
Okay, I now wrapped the norm! commands in a function and check via mode() if we are in select mode and then prepend <c-o> to the command if that's the case. It works without destroying the selection but it looks strange to me.

Regards,
Thomas.





        
                
___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de

Reply via email to