Kenneth Prugh <ken69267 <at> gmail.com> writes:

> autocmd BufRead,BufNewFile *.cpp set ai(or whatever options you want?)


Here's my .vimrc file:

autocmd BufRead,BufNewFile *.c set {ai, si, cindent, tabstop=3, softtabstop=3}


I get this error when I source the .vimrc file:

source /home/james/.vimrc
bash: autocmd: command not found


Any suggestions?


James




-- 
[EMAIL PROTECTED] mailing list

Reply via email to