Friday, April 29, 2016

Re: Odd mapping behavior...

On Thursday, April 28, 2016 at 1:58:58 PM UTC-7, Dmitri Vereshchagin wrote:
> * Sonny Chee <sonny.chee@gmail.com> [2016-04-28 23:03]:
> > I have the following two mappings to turn on and then turn off the paste setting.
> >
> > inoremap <F8> <esc>:set paste<cr>i
> > inoremap <s-F8> <esc>:set nopaste<cr>i
> >
> > [...]
> >
> > However, when I pressed shift-F8 while in insert mode, I just the follt owing characters in my current buffer
> >
> > <S-F8>
>
> When paste is on mapping in Insert mode is disabled. Check pastetoggle
> option.
>
> --
> Dmitri Vereshchagin


Thanks Dmitri, that solved my problem.

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: