Re: [PATCH] nice ftplugin for vim, that shows the commited diff in a split'ed buffer.
- From
Petr Baudis <pasky@suse.cz>
- Date
- Oct 18, 2006, 01:57 UTC
- Message-ID
- <20061018015704.GQ20017@pasky.or.cz>
- In-Reply-To
- <46d6db660610171448h53de5e40wf55f19d6458127ef@mail.gmail.com>
Dear diary, on Tue, Oct 17, 2006 at 11:48:51PM CEST, I got a letter where Christian MICHON <christian.michon@gmail.com> said that...
> I'd like particularly to know if a git-explorer type of plugin makes > sense for (g)vim and would like in this case be part of the team > developping it... using git of course :)
See also
http://news.gmane.org/find-root.php?message_id=<20051124093322.GA3899@mail.yhbt.net>
Personally, I'd say "just use tig". :-)
If you insist on living instide vim, that particular script comes from the age before git-show and git-cat-file -p so it would probably make sense to move the bulk of the functionality there.
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)