On Wed, 21 Nov 2007 18:20:19 +0000 (UTC) James <[EMAIL PROTECTED]> wrote:
> 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 > > > > Indeed sourcing will error out.. Just launch vim again and it should be using those new settings... -- [EMAIL PROTECTED] mailing list