Live data from Hacker News

Vim Git Gutter

github.com

11–20 of 119 posts

Re: Vim Git Gutter

#15
I've also got a similar plugin https://bitbucket.org/sirpengi/iwilldiffer that works with hg as well as git. Mine uses python though, nice to see an implementation that's all in viml. Neither of our plugins are async though (so vim ui will block while the diff is running), which is the biggest hurdle I want to cross.

Re: Vim Git Gutter

#17

I've also got a similar plugin https://bitbucket.org/sirpengi/iwilldiffer that works with hg as well as git. Mine uses python though, nice to see an implementation that's all in viml. Neither of our plugins are async though (so vim ui will block while the diff is running), which is the biggest hurdle I want to cross.

As far as I know Vim is single-threaded; you can't run operations asynchronously.

Re: Vim Git Gutter

#18
Awesome work! Cheers airblade. One nitpicky thing though, why do you use "_" and not "-" for removed lines? Can't see why you wouldn't want it vertically centered!

Re: Vim Git Gutter

#19
post #3

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.

I've added it at the bottom of ~/.vimrc, but for some reason it doesn't work until I explicitly type `highlight clear SignColumn` while editing a document. Any ideas why this could be happening? Great plugin by the way, super handy.

Try

hi SignColumn ctermbg=232 guibg=#080808

Post reply on HN