Skip to content

^M Error after install in Windows Bash #128

@rmb938

Description

@rmb938

After installing in Windows Bash and opening vim the following errors appear:

Error detected while processing /home/rbelgrave/.vimrc:
line    8:
E488: Trailing characters: nocompatible^M
line    9:
E475: Invalid argument: on^M
line   10:
E475: Invalid argument: off^M
line   11:
E492: Not an editor command: ^M
line   12:
E15: Invalid expression: fnamemodify(globpath(&rtp, 'vimified.dir'), ':p:h')^M
line   13:
E492: Not an editor command: ^M
line   15:
E121: Undefined variable: s:dotvim
E15: Invalid expression: ':so '.s:dotvim.'/functions/util.vim'^M
line   17:
E492: Not an editor command: ^M
line   19:
E121: Undefined variable: s:dotvim
E116: Invalid arguments for function expand(s:dotvim . '/before.vimrc')^M
E15: Invalid expression: expand(s:dotvim . '/before.vimrc')^M
line   20:
E121: Undefined variable: s:beforerc
E116: Invalid arguments for function filereadable(s:beforerc)^M
E15: Invalid expression: filereadable(s:beforerc)^M
line  685:
E171: Missing :endif
Press ENTER or type command to continue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions