From 8aebafe37c3099d2b07fa0145dae714700e39715 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Mon, 13 Nov 2017 17:14:19 +0800 Subject: [PATCH] Update wiki for E492: Not an editor command: ^M close #962 --- wiki/FAQ.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/wiki/FAQ.md b/wiki/FAQ.md index ac5515521..361c71b57 100644 --- a/wiki/FAQ.md +++ b/wiki/FAQ.md @@ -1,3 +1,11 @@ ### Where should I put my configration? -SpaceVim load custom configuration from `~/.SpaceVim.d/init.vim`. \ No newline at end of file +SpaceVim load custom configuration from `~/.SpaceVim.d/init.vim`. + +1. E492: Not an editor command: ^M + +The problem was git auto added ^M when cloning, solved by: + +```sh +git config --global core.autocrlf input +```