git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git refuses to work with gvim
@ 2009-10-12 11:43 sebastian
  2009-10-12 12:43 ` Matthieu Moy
  2009-10-12 17:37 ` Markus Heidelberg
  0 siblings, 2 replies; 8+ messages in thread
From: sebastian @ 2009-10-12 11:43 UTC (permalink / raw)
  To: git

Hi,
a few days ago I decided to switch from vim to gvim. To make use of
this in most cases I added :gui to my .vimrc which should make most
applications automatically switch to use gvim if they used the vim
command before.

But git seems to have problems with this. If I do now a "git commit
something" not the gui is opened but the console-version of vim. I
could live with that for git but if I now type some commit-message in
the console-version and do :x or :wq I get an error-message:

# git commit something
fatal: no commit message?  aborting commit.
#

Also

# EDITOR=gvim git commit something
fatal: no commit message?  aborting commit.
# 

shows the same error.

Removing :gui from my .vimrc makes git behave normally again. I don't
know what the problem here is: vim or git or both toghether?

I already saw screenshots of people using git with gvim. So there is a
way to make them work together but what am I missing?


OS: Debian Lenny
vim: 7.1
git: 1.5.6.5

greetings

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-10-12 18:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-12 11:43 git refuses to work with gvim sebastian
2009-10-12 12:43 ` Matthieu Moy
2009-10-12 14:13   ` Shawn O. Pearce
2009-10-12 14:20     ` Felipe Contreras
2009-10-12 14:25       ` Shawn O. Pearce
2009-10-12 14:36         ` Felipe Contreras
2009-10-12 18:29   ` Joshua Roys
2009-10-12 17:37 ` Markus Heidelberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).