[olug] vim version (vim behavior)

Derek & Lisa lug at robotz.com
Tue Sep 2 18:57:20 UTC 2003


> :set nocindent 
	That doesn't seem to do the job.  I'm not sure what version of vim I use at 
home, but it does not exhibit the same behavior.  It's only the vim on this 
one particular server I have that is being annoying.

>What distribution are you using?
>What version of vim are you using?
	The version of vim that is exhibiting the annoying behavior is:
vim-common-6.1-18.7x.2 	It is on a system based on Redhat, alhough has a 
custom kernel and is otherwise highly customized.  The vim does however come 
from the redhat rpm package.

There are some other annoying behaviors besides the auto indent on this one 
particular vim / server.  After a comment line in a C program such as
// comment
when pressing ENTER to make a new line, vim assumes the next line will also be 
a comment and automatically addes the //.  There are also other behaviors 
specific only to editing C program files.

I would like to disable all of these annoying behaviors and have vim edit my 
files ending in .c the same as any other text file.

ty




More information about the OLUG mailing list