Tuesday, February 23, 2010

Re: How to leave insert mode with a vimscript command

On 23 fév, 08:41, Ben Schmidt <mail_ben_schm...@yahoo.com.au> wrote:
> On 23/02/10 6:31 PM, epanda wrote:
>
> > Hi,
>
> > I would like to execute either CTRL-L or i_CTRL-L into a vimscript in
> > order to leave insert mode.
> > How can I do ?
>
> Try
>
> :stopinsert
>
> Ben.


stopinsert does not leave insertmode under vimscript

Note that I do
argdo! w!
argdo! bd!

before
stopinsert

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: