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 on Windows 7. If I open a file from Windows Explorer then it opens as a different instance of Vim. I'd like it to just open as a buffer inside the existing instance of Vim.

share|improve this question

migrated from stackoverflow.com Jun 21 '13 at 9:14

This question came from our site for professional and enthusiast programmers.

2 Answers 2

up vote 1 down vote accepted

You can use this manual. It's not a perfect solution, but it works.

share|improve this answer

Is it necessary that you do it from the Windows Explorer?

Because as stated here, the correct way of loading a buffer into a vim instance is by using command :badd giving as parameter the path of the file you want. This will add the buffer to the buffer list without openning for editing. If what you want is to actually edit then you can use command :e.

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.