2010/11/16 statquant2 <statqu...@gmail.com>:
>
> Hi guys,
> thank you very much for the answer, however this is not working because I
> forgot to mention that I paste from the mouse, basically I hit the middle
> button and It paste what is in the mouse.
> Your stuff are working for (from what I understand) the content of the
> current buffer (what I would have yanked...)
>
> Sorry about this, would you be able to suggest something else with this new
> information ?

This is not exactly what you asked for, but is useful for me:

" F11 -> Invert list markers and paste mode: {{{
noremap <F11> :set<space>invlist<enter>:set<space>invpaste<enter>
imap <F11> <esc><F11>a
" }}}


This acts as 'two-way' copy & paste mode switching between paste and
nopaste mode and list and no list (to be able to copy from vim with
mouse without listchars marks) by pressing single key (I choose F11).

Notice that second map (for insert mode) only works "first time" (when
you are in nopaste mode) because in paste mode is interpreted as 'raw'
character to insert.

I didn't thought yet about any trick to fix it.


Regards.

-- 
Joan Miquel Torres__________________________________
Linux Registered User #164872
http://www.mallorcaweb.net/joanmiquel
BULMA: http://bulma.net http://breu.bulma.net/?l2301

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