On Thu, 8 Jul 2010, d4567 wrote:

> > use imap <c-s>  <C-O>:w<cr>
> 
> Thank you very much, that did the trick!
> 

If you want to be extra careful:

imap <C-S>  <C-\><C-O>:w<cr>

See the note after :help i_CTRL-O

And :help i_CTRL-\_CTRL-O --
CTRL-\ CTRL-O   like CTRL-O but don't move the cursor

-- 
Best,
Ben

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to