Live data from Hacker News

Vim Git Gutter

github.com

71–80 of 119 posts

Re: Vim Git Gutter

#72

I honestly like vim fugitive because of it's awesome power. I just type ,gd to see a diff in a split. I probably don't want to scan the gutter for files i've changed, and fugitive diff folds all non-changed lines also, who the hell sets their font size that small? (screenshot in the readme). that's a sociopathically small font size. I will never trust you airblade. never.

I use both. If I need a full diff, fugitive is great. Sometimes I just want to scan to see what lines I changed in a a file. In other words, it is impractical to use this plugin to find out what _files_ you've changed. It is great for finding out what lines in whatever file you've opened have changed.

Re: Vim Git Gutter

#73

Earlier quoted context omitted.

I have 5 separate computers that I run vim on. Manually installing and updating is a huge pain. I keep my .vimrc in git to keep them all synchronized.

I use Vundle to take this a step further https://github.com/gmarik/vundle

Fantastic plugin.

:BundleUpdate when you've got 20 plugins homes across Github and vim.org is a huge timesaver.

Re: Vim Git Gutter

#74
vim-patchreview is a bit different, but also of interest: https://github.com/vim-scripts/patchreview.vim

I find it really useful in particular for working with Mercurial patch queues. I have a command in my .vimrc that will run ReversePatchReview on the topmost patch in my patch queue. It pops up a diff tab for each file that has changed. I can easily use "[c" and "]c" to jump between changes within each file.

This setup makes it incredibly easy to review the changes a patch makes, and it's so convenient that I often write quite a bit of my code inside these diff views. I don't think I could live without vim-patchreview when working with Mercurial.

Re: Vim Git Gutter

#75

I honestly prefer vim fugitive's diff function, as it splits with highlighted lines.

Sure, but there's a difference between some nice lil gutter glyphs in the background and a deliberate ':Gdiff' command.

In other words, why not both?

Re: Vim Git Gutter

#76
post #3

This is really nice, but I wish the background color of the gutter would automatically match the rest of my background. The gray band [1] is pretty unappealing IMO. Also noteworthy is that that the gutter only updates when the file is saved. [1] Screenshot: http://imgur.com/TIGKVRS

You can achieve that manually with `highlight clear SignColumn` in your colour scheme or ~/.vimrc. I'll (I'm the author) probably make this the default because it seems quite a common wish.

None of the suggestions work for me. Plugin called via Pathogen - could this be an issue?

Re: Vim Git Gutter

#77

Sublime Text Version https://github.com/jisaacks/GitGutter

Not to take away from the post, anyone else feeling a bit of Vim overload in the past few days? I'm pretty much Vim'ed out with all the Vim related postings.

Probably just due to a lull in the SublimeText posts.

Re: Vim Git Gutter

#78
post #72

I honestly like vim fugitive because of it's awesome power. I just type ,gd to see a diff in a split. I probably don't want to scan the gutter for files i've changed, and fugitive diff folds all non-changed lines also, who the hell sets their font size that small? (screenshot in the readme). that's a sociopathically small font size. I will never trust you airblade. never.

I use both. If I need a full diff, fugitive is great. Sometimes I just want to scan to see what lines I changed in a a file. In other words, it is impractical to use this plugin to find out what _files_ you've changed. It is great for finding out what lines in whatever file you've opened have changed.

fugitive split diff shows you what lines you've changed. stop using both.
Post reply on HN