[CentOS] vi defaults in 6.x

Frank Cox theatre at melvilletheatre.com
Thu Aug 16 18:34:06 UTC 2012


On Thu, 16 Aug 2012 13:23:28 -0500
Les Mikesell wrote:

> When I use copy/paste text into a window running vi, if there is a
> single line starting with '#', in the pasted content, it adds a # to
> all subsequent lines and indents each an additional level.  Is there
> some way to eliminate this bizarre behavior, preferably globally and
> permanently so I don't have to repeat some change for every
> machine/user where I might log in?

I discovered exactly the same behaviour in the Sylpheed email editor a few
weeks back. Not only with cut-and-paste, but just typing into the editor
window.  If a line starts with # then every following line after that also
gains one as you type.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!



More information about the CentOS mailing list