Thursday, April 28, 2016

Re: Odd mapping behavior...

* 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

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

Post a Comment