On Tue, Jun 9, 2015 at 3:37 PM, Christian Brabandt <[email protected]>
wrote:

> Hi John!
>
> On Di, 09 Jun 2015, John Cordes wrote:
>
> >  I use F9 to toggle between paste and nopaste, using these
> > lines in my ~/.vimrc:
> >
> > nnoremap <F9> :set invpaste paste?<CR>
> > set pastetoggle=<F9>
> > set showmode
> >
> >
> >  I also like to use 'jk' to escape insert mode on
> > occasion, so have this map:
> >
> > :inoremap jk <ESC>
> >
> >  The latter works fine in the nopaste situation but not if
> > 'paste' is set. Is there some simple way to make things
> > work if I'm in paste mode?
>
> No. The whole point the paste mode to disable mappings among others.
> You could use <C-C> or <C-[> to exit insert mode.
>
>
 Ah! Yes, <C-C> is a good solution for me.
 Thank you Christian.

 John Cordes

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to