Gvim has the -f option. Its man page says,
-f Foreground. For the GUI version, Vim will not fork and
detach from the shell it was started in.
What does this mean?
I encountered this option when trying to make the global menu work for gvim from How to get global application menu for gvim?.
I thought it would be that gvim -f file &
would show gvim and gvim file &
wouldn't. But they both seem to have same behavior.
gvim -f file
. Maybe you can be more explicit? – countunique Jun 12 '13 at 20:45type -a gvim
tell you? – glenn jackman Jun 12 '13 at 21:11