> Fortunately, he specifically said "VIM", not Vi. > > Vim is a very nice improvement over traditional Vi that can do, among a > great many other things, syntax highlighting and automatic indentation. > > Gavin -- what happens if you just put > > set autoindent > > in your ~/.vimrc ? Does that not work ? >
Hi Chris, this is what I have in ~/.vimrc " Turn off vi compatibility settings like limited undo set nocompatible " Syntax highlighting based on file extension syntax on " Automatically insert newlines after 80 characters set textwidth=80 " Automatically indent set autoindent " Match SGML tags with % source $VIMRUNTIME/macros/matchit.vim -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>