Sunday, May 2, 2010

Re: Stair stepping

On 02/05/10 16:41, Harry Putnam wrote:
> My setup: Linux (gentoo) 2.6.33-gentoo
> vim VIM - Vi IMproved 7.2
> compile info inlined at the end of this post
>
> For some time now I've been noticing when I paste scripting code
> into vim I'm getting the stair stepping effect.
>
> It didn't used to a few mnts back..
>
> I know about paste on/off in vim and have the toggle set to F4.
> So I have to toggle paste on, do the paste and then toggle paste off
> since having paste on messes with numerous other settings.
>
> However, there was a time, maybe a few mnths ago, when all that
> toggling was not necessary.
>
> Maybe I lost a few lines out of ~/.vimrc or maybe I didn't compile
> vim the same... I don't know what the cause is but wondered if anyone
> here knows if there is a way to set vim up (other than paste on/off)
> so that pasting can happen without stair stepping.
>
> Here is an example of what I'm talking about.

According to ":help 'paste'", setting paste is not necessary in gvim,
nor in a terminal where Vim handles the mouse clicks itself. So: are you
sure you're using the same terminal as a few months ago? Are the mouse
actions (when Vim runs in that terminal) handled by the terminal or
passed to Vim? Does it make a difference if you use "*P rather than
middle-click (or than the terminal's Edit => Paste menu if any)?


Best regards,
Tony.
--
At the source of every error which is blamed on the computer you will
find at least two human errors, including the error of blaming it on
the computer.

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

No comments:

Post a Comment