Show HN: I made a tool to open files from git in one line. Useful?
arnorhs.com
arnorhs.com
git config --global alias.open '!sh ~/gitopen.sh'
Which lets you invoke it like: git open diff master
Edit: Alternately, if you save the file somewhere in your path as "git-open", you can run it with "git open" as well.https://github.com/tpope/vim-fugitive
The last five vimcasts go through what this plugin can do, and are really worth the time: