I tried
let g:gitgutter_enabled = 1
but that does seem to work.I'll have a poke through the source.
61–70 of 119 posts
I tried
let g:gitgutter_enabled = 1
but that does seem to work.I'll have a poke through the source.
Great stuff, I was using svndiff before this but it was more of a miss than a hit, this seems to work nicely so far.
It works fine, but I am unsure of what advantage it has over svndiff, which also works fine.
Is there any way to make it so that the gutter is always present? There's a bit of a noticeable jump to include it when I save a file, it's sort of annoying me. I tried let g:gitgutter_enabled = 1 but that does seem to work. I'll have a poke through the source.
Although I suppose you can work around this by displaying a fake sign (color match gutter background?), but that has its downsides (depending on colorscheme, the sign can show up. and vim doesn't support whitespace characters for signs, at least not from what I can see).
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.
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.
Is there any way to make it so that the gutter is always present? There's a bit of a noticeable jump to include it when I save a file, it's sort of annoying me. I tried let g:gitgutter_enabled = 1 but that does seem to work. I'll have a poke through the source.
probably not, the way vim works if there are no more signs attached to a document the gutter goes away. This isn't plugin related, it's just a manner of how vim works. Although I suppose you can work around this by displaying a fake sign (color match gutter background?), but that has its downsides (depending on colorscheme, the sign can show up. and vim doesn't support whitespace characters for signs, at least not fr…
It seems to just grep through the diff itself, so adding a fake sign would be a pain and, as you mentioned, probably not display correctly anyway.
I'm sure my eyes will adjust :).
An aside question; what's the deal with "pathogen"? I've been using the "/bin/cp" command for years installing vim plugins and it's worked remarkably well; requiring just about 1 invocation on average... What problem does that thing solve?
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.
Earlier quoted context omitted.
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.
Alternatively, using `hi! link SignColumn LineNr` will ensure that styling the user has applied to the more commonly used line numbering column will match the sign column used by vim-gitgutter.
Earlier quoted context omitted.
probably not, the way vim works if there are no more signs attached to a document the gutter goes away. This isn't plugin related, it's just a manner of how vim works. Although I suppose you can work around this by displaying a fake sign (color match gutter background?), but that has its downsides (depending on colorscheme, the sign can show up. and vim doesn't support whitespace characters for signs, at least not fr…
Yeah, I just noticed that now. It seems to just grep through the diff itself, so adding a fake sign would be a pain and, as you mentioned, probably not display correctly anyway. I'm sure my eyes will adjust :).
Obligatory Emacs version: https://github.com/syohex/emacs-git-gutter