SyntaxHighlighter

2017-05-22

gVim menu language setting

A few days ago, I download the lastest(It's 8.0 in May, 2017) Vim.

And when I launch the gVim, the menu text is almost "????".
I have to explain my PC setting. I used to have Japanese menu on my PC.
It is Win10 at this moment.

Seems the VIM has old fashion, it used to use the encode 932 or Shift-JIS or something like that. It shows as "????" for the Kana. I have to force it to show in english.

I found some answers as below:

https://superuser.com/questions/746387/change-menu-ui-language-of-vim-to-english

There is the code you have to add in your .vimrc(or _vimrc in windows)
set langmenu=en_US
let $LANG = 'en_US'
source $VIMRUNTIME/delmenu.vim
source $VIMRUNTIME/menu.vim

人気の投稿