question about VI

Jaime Davila jdavila at hampshire.edu
Tue Dec 19 16:49:30 UTC 2006


Sorry if this is slightly off-topic, but I've looked everywhere for an 
answer, with no luck.

I have set vi to auto indent. I'm having an issue with comments and 
their indentation. Whenever vi sees that I type the # character, it 
moves it to the leftmost column. I would like the comment to stay at 
whatever level of indentation my code is at the time.

Does anyone have a solution?

TIA,

Jaime


-- 

******************************************************
Jaime J. Davila
Associate Professor of Computer Science
Hampshire College
School of Cognitive Science
jdavila at hampshire dot edu
http://helios.hampshire.edu/jdavila
*******************************************************




More information about the ubuntu-users mailing list