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 using windows 7.

Unix I can open a file in vi with by using:

vi textFile.txt

In windows I want to navigate to the folder and type what I have above.

What is the best way to go about this?

Thanks, Eric

share|improve this question
add comment

2 Answers

On my system it works, the syntax is the same:

C:\>vim somefile.txt

Make sure vim is in your path. Make sure you select the console and GUI versions when installing (I think this is the default now).

share|improve this answer
    
What needs to be in my path for windows? Vim.exe? –  eric f Aug 31 '12 at 12:20
add comment

During Vim (for Win32) install, you have the option to install batch files for launching vim from the command-line.

share|improve this answer
add comment

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.