From: | James <wireless@×××××××××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | [gentoo-user] Re: OT: .vimrc | ||
Date: | Wed, 21 Nov 2007 18:34:19 | ||
Message-Id: | loom.20071121T181653-516@post.gmane.org | ||
In Reply to: | Re: [gentoo-user] OT: .vimrc by Kenneth Prugh |
1 | Kenneth Prugh <ken69267 <at> gmail.com> writes: |
2 | |
3 | > autocmd BufRead,BufNewFile *.cpp set ai(or whatever options you want?) |
4 | |
5 | |
6 | Here's my .vimrc file: |
7 | |
8 | autocmd BufRead,BufNewFile *.c set {ai, si, cindent, tabstop=3, softtabstop=3} |
9 | |
10 | |
11 | I get this error when I source the .vimrc file: |
12 | |
13 | source /home/james/.vimrc |
14 | bash: autocmd: command not found |
15 | |
16 | |
17 | Any suggestions? |
18 | |
19 | |
20 | James |
21 | |
22 | |
23 | |
24 | |
25 | -- |
26 | gentoo-user@g.o mailing list |
Subject | Author |
---|---|
Re: [gentoo-user] Re: OT: .vimrc | Kenneth Prugh <ken69267@×××××.com> |