Linked by Amjith Ramanujam on Tue 26th May 2009 12:31 UTC
General Development I recently started using Git for my local revision control. Since I spend about 90% of my coding time inside the Vim editor, I went looking for a plugin that would make Vim play nice with Git. In this article I present two different vim plugins and explore their feature-set via screenshots.
Order by: Score:
Obligatory
by sakeniwefu on Tue 26th May 2009 12:59 UTC
sakeniwefu
Member since:
2008-02-26

This is when someone has to say:
"Vim is a great Operating System, it just lacks a decent text editor"
And then someone replies:
":set compatible"

Otherwise, very cool ;)

Reply Score: 2

RE: Obligatory
by awesome on Tue 26th May 2009 16:48 UTC in reply to "Obligatory"
awesome Member since:
2009-02-24

i think your quote was directed at Emacs not Vim

Reply Score: 3

RE[2]: Obligatory
by sakeniwefu on Wed 27th May 2009 00:01 UTC in reply to "RE: Obligatory"
sakeniwefu Member since:
2008-02-26

i think your quote was directed at Emacs not Vim

Oh, really? You are so sharp.

;)

Reply Score: 2

RE: Obligatory
by vivainio on Tue 26th May 2009 18:44 UTC in reply to "Obligatory"
vivainio Member since:
2008-12-26

This is when someone has to say:
"Vim is a great Operating System, it just lacks a decent text editor"
And then someone replies:
":set compatible"

Otherwise, very cool ;)


Analogously, git is a decent content-addressable tree storage. Someone just needs to write a command line wrapper for it, and provide english localization for the error messages.

Reply Score: 2

Nice
by Riff on Tue 26th May 2009 13:01 UTC
Riff
Member since:
2009-05-26

Nice feature to a nice editor ;)

Reply Score: 3

Psssh...
by Thom_Holwerda on Tue 26th May 2009 13:03 UTC
Thom_Holwerda
Member since:
2005-06-29

Real men use Notepad.

Reply Score: 1

RE: Psssh...
by unavowed on Tue 26th May 2009 13:14 UTC in reply to "Psssh..."
unavowed Member since:
2006-03-23

Indeed.▮I think especially its unique line-breaking approach deserves more recognition.▮We as users should put more pressure on emacs/vim developers to implement compatible support.▮

Edited 2009-05-26 13:15 UTC

Reply Score: 6

RE: Psssh...
by abraxas on Tue 26th May 2009 13:24 UTC in reply to "Psssh..."
abraxas Member since:
2005-07-07

Real men use Notepad.


Only men that still like to play with toys. ;)

Reply Score: 2

RE: Psssh...
by panzi on Tue 26th May 2009 14:57 UTC in reply to "Psssh..."
panzi Member since:
2006-01-22

real programmers use... http://xkcd.com/378/

Reply Score: 2

RE: Psssh...
by Soulbender on Tue 26th May 2009 15:33 UTC in reply to "Psssh..."
Soulbender Member since:
2005-08-18

Bah, amateur. Not hardcore enough for edlin?

Reply Score: 2

Comment by abraxas
by abraxas on Tue 26th May 2009 13:20 UTC
abraxas
Member since:
2005-07-07

Good article. I've been looking for good GIT tools for VIM. GIT is becoming more and more popular in the open source world. It seems like everyone is moving away from subversion to GIT and good VIM integration is much neeeded.

Reply Score: 4

Yup, there's a plugin...
by Lousewort on Tue 26th May 2009 13:23 UTC
Lousewort
Member since:
2006-09-12

It's called "bash", and you can launch it using the key sequence :!

:-)

Reply Score: 2

mercurial
by panzi on Tue 26th May 2009 14:59 UTC
panzi
Member since:
2006-01-22

Is there something similar for mercurial?

Reply Score: 1

RE: mercurial
by amjith on Tue 26th May 2009 15:29 UTC in reply to "mercurial"
amjith Member since:
2005-07-08

VCSCommand is a Vim Plugin that can handle multiple source control backends via Vim.
http://www.vim.org/scripts/script.php?script_id=90

In its original form it only supports SVN, CVS, GIT and SVK, but you can install the following plugin which adds Hg support to VCSCommand.
http://www.vim.org/scripts/script.php?script_id=1898

Reply Score: 1

Good stuff but I'll stick to console
by kajaman on Wed 27th May 2009 21:22 UTC
kajaman
Member since:
2006-01-06

I have tried a few GUI frontend to Git and so far found none that suits my needs. I hasn't tried this one for Vim, but I found that command-line Git is quite easy to learn and fast. I have extensively used GUIs for Subversion, but that is not required anymore with Git ;) .

Reply Score: 1