Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm running vim on Windows 7. It works, but when I type vimtutor on the command line, a window opens and closes immediately, and nothing else happens.

Is there a way to run vimtutor with Vim for Windows?

share|improve this question
    
I get different, but still broken behavior when I try to run the vimtutor.bat file. I have submitted a report to the Vim Developers' mailing list. –  Heptite Apr 14 '11 at 18:57

3 Answers 3

up vote 10 down vote accepted

Run gVim from the Start Menu, then File->Open

C:\Program Files\Vim\vim73\tutor\tutor

(may be different with another version or install location, it doesn't have a file extension). Save a copy of the file to My Documents using the menu.

The vimtutor command is a merely a shortcut command to do this, as well as automatically showing the correct translations if necessary. You don't need it.

share|improve this answer

For those who prefer to launch the tutor directly, here's a simple no-frills replacement (adjust Vim install directory):

@echo off
copy "C:\program Files\Vim\vim74\tutor\tutor" "%TEMP%\tutor"
gvim -u NONE -c "set nocp" "%TEMP%\tutor"
share|improve this answer

Find the vimtutor BAT file (usually $VIM/vim74) and then double click it. A daemon cmd windows opens, and the vimtutor window will open and not close immediately.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.