[CentOS] vi defaults in 6.x

Michael Hennebry hennebry at web.cs.ndsu.nodak.edu
Thu Aug 16 21:33:00 UTC 2012


On Thu, 16 Aug 2012, Les Mikesell wrote:

> It is probably trying to be smarter than we are and doing something
> context-sensitive.  Try naming the file you are editing something.pl.

That is exactly what it isdoing.
A .pl file will probably syntaxted as a perl script.

>From man vim:
> /usr/share/vim/vimrc
>                       System wide Vim initializations.

-- 
Michael   hennebry at web.cs.ndsu.NoDak.edu
"On Monday, I'm gonna have to tell my kindergarten class,
whom I teach not to run with scissors,
that my fiance ran me through with a broadsword."  --  Lily



More information about the CentOS mailing list