Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running gvim on my mac from /usr/local/bin. If I invoke it from a terminal window it opens it up in a new window. I'd like to get it to just run in the same window I'm already using. How do I do that? I realize this is probably a really dumb question but I'm a big time mac noob.

share|improve this question
You don't. you use vim or vi. – DaveParillo Jan 6 '10 at 21:43
gvim doesn't run in a terminal, it needs its own graphical window. As the others said, use vim instead. – pavium Jan 6 '10 at 21:48
up vote 5 down vote accepted

'gvim' is the graphical version of vim. Try /usr/local/bin/vim instead.

share|improve this answer

I'm not sure about Mac, but I'm using gVim on my Windows PC (I have it loaded on a USB) and I can enter the terminal mode by running the core exe within the file tree.

(Keep in mind: I am using a version of gVim downloaded from

When you go into your gVimPortable folder you should see:

App (folder)
Data (folder)
Other (folder)

clicking gVimPortable will give you a GUI version like normal, but instead try this:


And run vim.exe NOT gVim.exe.

To open it from within a already opened command window just type the full path to the file and include vim.exe onto the end of it.

I hopes this helps you on mac!

share|improve this answer
+1 Although there is another, straightforward answer for Mac, this answer will be useful for Windows users with similar problem. – Kamil Maciorowski May 13 at 7:17

You must log in to answer this question.