Closed GoogleCodeExporter closed 9 years ago
This is expected behavior. See ":help 'paste'" where is listed the options that
are reset while 'paste' is set. This list includes 'ruler'.
Original comment by gary....@gmail.com
on 2 Dec 2013 at 6:47
Works as documented. Closing.
Original comment by chrisbr...@googlemail.com
on 3 Oct 2014 at 11:43
OK, I see that it's documented at :help 'paste'. But...WHY? I understand most
of the options that are reset or disabled in paste mode, because they affect
the inserting of text. But why 'ruler' and 'showmatch'? I guess 'showmatch' can
cause a paste to take longer as the cursor can move around unnecessarily; but
that's a stretch, and 'ruler' has no justification at all that I can think of.
Especially since 'statusline' continues to function just fine.
Original comment by benjamin...@rockwellcollins.com
on 3 Oct 2014 at 1:46
Curious as well. What is the technical explanation for why "set ruler"
interferes with paste mode?
Original comment by Josh.End...@gmail.com
on 12 Jan 2015 at 11:47
Pasting can involve a large amount of text (someone just complained about
pasting more than 1500 lines not working). Keeping the ruler updated adds
overhead and makes pasting a bit slower. 'showmatch' is even more expensive.
Setting the 'paste' option is a quick way to make pasting efficient.
Original comment by brammool...@gmail.com
on 14 Jan 2015 at 10:42
[deleted comment]
Makes sense. Thanks for the follow up!
Original comment by Josh.End...@gmail.com
on 14 Jan 2015 at 6:59
Original issue reported on code.google.com by
kyle.hau...@gmail.com
on 2 Dec 2013 at 5:00