[wellylug] Staircase effect in vim...
Ewen McNeill
wellylug at ewen.mcneill.gen.nz
Thu Feb 19 07:45:49 NZDT 2004
In message <4033AC1E.1000809 at mclean.net.nz>, Grant McLean writes:
>Cameron Hart wrote:
>>> But then you have to forsake lovely autoindent! :)
>>
>> Try using vim's paste mode. In vim type
>> :set paste
>
>Unfortunately, the original poster was using vim via an ssh connection.
>In this case, paste is handled by putty firing the clipboard data
>across as if it had been typed. Vim would have no way to distinguish
>between pasted text and typed text. Your tip is good for gvim though.
>
>In this case I'd recommend:
>
>:set noai
>paste
>:set ai
:set paste
disables ai, amongst other things.
More information about the wellylug
mailing list