On 2011-04-14, David Ohlemacher wrote:
> I just posted this, but in case you missed it...  You might concider adding
> these lines to your .vimrc.
> 
> Or when
>     you paste from your
>         clipboard you may see
>             your text
>                 mangled with indentations
>                     like this
> 
>     "The first line sets a mapping so that pressing F2 in normal mode will
>     invert the 'paste' option, and will then show the value of that option. 
> The
>     second line allows you to press F2 when in insert mode, to toggle 'paste'
>     on and off. The third line enables displaying whether 'paste' is turned on
>     in insert mode.
>     nnoremap <F2> :set invpaste paste?<CR>
>     set pastetoggle=<F2>
>     set showmode

Is that necessary on a Mac?  As long a Vim is built with mouse and
X11 support and you have ":set mouse=a", pasting with the mouse
should just work.

The only time I ever have to use ":set paste" is when I'm ssh'd to a
remote machine and running vim there.

Regards,
Gary

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