1 |
On Wed, 21 Nov 2007 18:20:19 +0000 (UTC) |
2 |
James <wireless@×××××××××××.com> wrote: |
3 |
|
4 |
> Kenneth Prugh <ken69267 <at> gmail.com> writes: |
5 |
> |
6 |
> > autocmd BufRead,BufNewFile *.cpp set ai(or whatever options you |
7 |
> > want?) |
8 |
> |
9 |
> |
10 |
> Here's my .vimrc file: |
11 |
> |
12 |
> autocmd BufRead,BufNewFile *.c set {ai, si, cindent, tabstop=3, |
13 |
> softtabstop=3} |
14 |
> |
15 |
> |
16 |
> I get this error when I source the .vimrc file: |
17 |
> |
18 |
> source /home/james/.vimrc |
19 |
> bash: autocmd: command not found |
20 |
> |
21 |
> |
22 |
> Any suggestions? |
23 |
> |
24 |
> |
25 |
> James |
26 |
> |
27 |
> |
28 |
> |
29 |
> |
30 |
Indeed sourcing will error out.. |
31 |
|
32 |
Just launch vim again and it should be using those new settings... |
33 |
|
34 |
-- |
35 |
gentoo-user@g.o mailing list |