Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you're a vim user, Tim Pope is a goddamn hero and I don't give a fuck what anybody thinks.


I've never heard of Tim Pope and as I posted below, my first thought was "this guy must be 12 years old"


And if you're not a vim user then you don't know how good git integration can be (thanks to Tim Pope).


I recently started using Tim Pope's git-vim plugin. The first time I used :Gstatus and added a file with one keystroke had me won over. Pure genius if you ask me!


My favorite Fugitive workflow is:

1. git blame 2. move to the blame window and hit 'o' to open the commit 3. discover that the line in question was merely moved not created by this commit, then move to the --- line in the diff and hit 'o' to open the previous version of the file. 4. repeat from step 1

It's a few more steps than `git log -S` but it provides a different kind of flexibility. You can trace all manner of historic code migrations even without a common search term.


That sounds super nifty! I'll have to give it a try next time I need to trace the history of a file.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: