Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
shuzchen
on March 6, 2013
|
parent
|
context
|
favorite
| on:
Vim Git Gutter
Yes, the plugin runs the diff command when a document is saved/loaded. See the discussion here:
http://news.ycombinator.com/item?id=5326654
finnh
on March 6, 2013
[–]
Figured as much. I would argue for/request forking that "git diff" command and only processing its output in the VIM process, but for the moment I'll stick with my trusty ",gd" command:
map <leader>gd :!cd %:p:h && GIT_PAGER='' git diff HEAD -- %:t<CR><CR>
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: