Sunday, July 26, 2015

Re: toggle PASTE in insert mode

Hi Sergei!

On So, 26 Jul 2015, Sergei Gerasenko wrote:

> I new about paste toggle and I thought i could only assign it to one key (like F5), but it appears that it works ever for something like <leader>]

You can't toggle the paste option from a mapping, because the whole
point when paste is set is to disable any mappings.

That's why you have the pastetoggle option.

Best,
Christian
--
1. Der Computer nützt dem Menschen.
2. Die Erde ist eine Scheibe.
3. Computer lösen Probleme, die man ohne sie nicht hätte.
4. Nichts ist so einfach, daß man es nicht falsch machen könnte.

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