any change in .vimrc or .vimrc.local doesn't work #329

Closed
ghost opened this Issue Apr 2, 2013 · 2 comments

Projects

None yet

3 participants

@ghost
ghost commented Apr 2, 2013

At first I want to change colorscheme using "echo colorscheme ir_black >> ~/.vimrc.local",
it doesn't work then I change it in .vimrc,doesn't work neither.

I try to run "source .vimrc", I got this error
"vimrc:1: command not found: Modeline and Notes {\n
.vimrc:3: command not found: \n
.vimrc:694: unmatched
"
I don't know how to solve this,anyone can help?

OH,except line 124 the color part, I didn't change anything else.

@spf13
Owner
spf13 commented Apr 2, 2013

The error comes from bad characters in your .vimrc file. Please edit it and
remove them. Looks like some things were commented out and no longer are.

Steve Francia
http://stevefrancia.com
http://spf13.com
http://twitter.com/spf13

On Tue, Apr 2, 2013 at 2:36 AM, ellrywych notifications@github.com wrote:

At first I want to change colorscheme using "echo colorscheme ir_black >>
~/.vimrc.local",
it doesn't work then I change it in .vimrc,doesn't work neither.

I try to run "source .vimrc", I got this error
"vimrc:1: command not found: Modeline and Notes {\n
.vimrc:3: command not found: \n
.vimrc:694: unmatched
"
I don't know how to solve this,anyone can help?


Reply to this email directly or view it on GitHubhttps://github.com/spf13/spf13-vim/issues/329
.

@ghost
ghost commented Apr 2, 2013

I commit this issue.
thx for reply.
I remove all of them and reinstall it,then source .vimrc still got that error.
I add "autocmd! bufwritepost .vimrc source ~/.vimrc" in .vimrc.local and it works.

@bronzehedwick
Contributor

@johntyree, looks like the original commenter both had the issue fixed, and deleted his github account. I think it's probably safe to close this.

@jrobeson jrobeson closed this Aug 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment