Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

^M in vundle.vim #445

Closed
Zane-XY opened this issue Apr 19, 2014 · 8 comments
Closed

^M in vundle.vim #445

Zane-XY opened this issue Apr 19, 2014 · 8 comments

Comments

@Zane-XY
Copy link

Zane-XY commented Apr 19, 2014

Updated Vundle to the latest version and it won't work anymore, vim gives me this error:

Error detected while processing ~/.vim/bundle/vundle/autoload/vundle.vim:
line    6:
E492: Not an editor command: ^M
line    9:
E182: Invalid command name
line   10:
E492: Not an editor command: ^M
line   12:
E182: Invalid command name
line   13:
E492: Not an editor command: ^M
line   15:
E182: Invalid command name
line   16:
E492: Not an editor command: ^M
line   18:
E182: Invalid command name
line   19:
E492: Not an editor command: ^M
line   21:
E182: Invalid command name
line   22:
E492: Not an editor command: ^M
line   24:
E182: Invalid command name
line   25:
E492: Not an editor command: ^M
line   27:
E182: Invalid command name
line   28:
E492: Not an editor command: ^M
line   31:
E492: Not an editor command: ^M
line   38:
E492: Not an editor command: ^M
line   48:
E492: Not an editor command: ^M
line   49:
E15: Invalid expression: (has('signs'))^M
line   67:
E171: Missing :endif
line    6:
E492: Not an editor command: ^M
line    9:
E182: Invalid command name
line   10:
E492: Not an editor command: ^M
line   12:
E182: Invalid command name
line   13:
E492: Not an editor command: ^M
line   15:
E182: Invalid command name
line   16:
E492: Not an editor command: ^M
line   18:
E182: Invalid command name
line   19:
E492: Not an editor command: ^M
line   21:
E182: Invalid command name
line   22:
E492: Not an editor command: ^M
line   24:
E182: Invalid command name
line   25:
E492: Not an editor command: ^M
line   27:
E182: Invalid command name
line   28:
E492: Not an editor command: ^M
line   31:
E492: Not an editor command: ^M
line   38:
E492: Not an editor command: ^M
line   48:
E492: Not an editor command: ^M
line   49:
E15: Invalid expression: (has('signs'))^M
line   67:
E171: Missing :endif
Error detected while processing ~/.vimrc:
line   37:
E117: Unknown function: vundle#rc

I am on OS X, with Vim 7.4.52

@Zane-XY Zane-XY closed this as completed Apr 19, 2014
@Zane-XY Zane-XY reopened this Apr 19, 2014
@Zane-XY
Copy link
Author

Zane-XY commented Apr 19, 2014

The problem was git auto added ^M when cloning, solved by:

$ git config --global core.autocrlf input

@Zane-XY Zane-XY closed this as completed Apr 19, 2014
@johnrichardrinehart
Copy link

Thank you so much!

@ggerico
Copy link

ggerico commented Oct 20, 2015

Thanks!

1 similar comment
@easeyang
Copy link

easeyang commented Nov 3, 2015

Thanks!

@adds68
Copy link

adds68 commented Feb 3, 2016

Boom! The fix i was looking for. Thanks!

@jiacj
Copy link

jiacj commented Apr 14, 2016

Wonderful! Problems solved finally!

@ioandev
Copy link

ioandev commented Sep 12, 2016

Thanks dude. Should be added in the docs.

@ryanoasis
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants