My vimtutor is in portuguese. I don't know why, because my Windows OS is in english, so as everything else. I don't remember to have chosen "portuguese" anywhere in the vim installing process.
How do I change it to english?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.Sign up to join this community
vimtutor (from command line) with 2 letter language code like:
vimtutor en (for English)
vimtutor pt (for Portuguese)
Open tutor with different language with:
vim /usr/share/vim/vim74/tutor/tutor (for English)
vim /usr/share/vim/vim74/tutor/tutor.pt (for Portuguese)
(The same default path applies to Cygwin on Windows. You may want to change
vim74 part if you have different version)
Using this method you may actually want to copy the file somewhere else first and then open the copy, because you are going to modify it.
Vimtutor opens in Portuguese by default because you probably have some environmental variable set to Portugese like:
LANGUAGE (check it with
env | grep -P 'LC_ALL|LANG'. You may want to change it like this:
and then run