Vundle.vim: ^M in vundle.vim

Created on 19 Apr 2014  路  8Comments  路  Source: VundleVim/Vundle.vim

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

Most helpful comment

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

$ git config --global core.autocrlf input

All 8 comments

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

$ git config --global core.autocrlf input

Thank you so much!

Thanks!

Thanks!

Boom! The fix i was looking for. Thanks!

Wonderful! Problems solved finally!

Thanks dude. Should be added in the docs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sheerun picture sheerun  路  4Comments

tmplt picture tmplt  路  3Comments

kshenoy picture kshenoy  路  4Comments

eiger3970 picture eiger3970  路  5Comments

thetutlage picture thetutlage  路  7Comments