ClosestStorm / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

:q does not quit the editor #402

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

start MacVim, I start it at the command prompt as follows:
/Applications/MacVim.app/Contents/MacOS/MacVim
(actually with an alias gvim='/Applications/MacVim.app/Contents/MacOS/MacVim')

Then do 
:q

What is the expected output? What do you see instead?
The MacVim Application will terminate.

The MacVim Application Does not terminate.

What version of MacVim and OS X are you using (see "MacVim->About MacVim"
and  "Apple Menu->About This Mac" menu items, e.g. "Snapshot 40, 10.5.6
Intel")?

MacVim Snapshot 64
Mac OS X 10.7.2

Please provide any additional information below.

Original issue reported on code.google.com by u912boil...@gmail.com on 26 Jan 2012 at 5:54

GoogleCodeExporter commented 9 years ago
As a note, I use the zsh.

Original comment by u912boil...@gmail.com on 26 Jan 2012 at 5:55

GoogleCodeExporter commented 9 years ago
NEVER start MacVim via the MacVim binary.  Either use the bundled "mvim" 
script, or call the "Vim" binary with the -g switch, see ":h macvim-start".

Original comment by bjorn.winckler@gmail.com on 27 Jan 2012 at 8:39

GoogleCodeExporter commented 9 years ago
Excellent works.

There is however another issue.  Might be related.
setting alias:
alias gvim_nofork='/Applications/MacVim.app/Contents/MacOS/Vim -g --nofork'

then When I do a :wq, the editor quits, but the terminal that launched the 
window is not "active" I have to drag my mouse pointer onto the window and 
click to make it active.

I would like to see the window that launched gvim to become active on exit, 
(Especially using the --nofork option) that would seem intuitive to me.

Original comment by u912boil...@gmail.com on 2 Feb 2012 at 7:25

GoogleCodeExporter commented 9 years ago
This issue tracker is for bug reports only.  Please ask your question on the 
vim_mac Google group.

Original comment by bjorn.winckler@gmail.com on 5 Feb 2012 at 6:30