From 2a769e6cb0673644a8a8306610be3ad8a7ac0a43 Mon Sep 17 00:00:00 2001 From: shenchsh Date: Thu, 22 May 2014 11:25:51 +0800 Subject: [PATCH] avoid the garbled characters in Chinese language windows OS --- vimrcs/basic.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vimrcs/basic.vim b/vimrcs/basic.vim index 68b79b82..8faa41a1 100644 --- a/vimrcs/basic.vim +++ b/vimrcs/basic.vim @@ -72,6 +72,12 @@ command W w !sudo tee % > /dev/null " Set 7 lines to the cursor - when moving vertically using j/k set so=7 +" Avoid garbled characters in Chinese language windows OS +let $LANG='en' +set langmenu=en +source $VIMRUNTIME/delmenu.vim +source $VIMRUNTIME/menu.vim + " Turn on the WiLd menu set wildmenu