danielhpavey.uk

Open All Files Staged in Git in Vim

vim git status --porcelain | sed -E -e 's/^M|^A//g'

This is working for me in iTerm on my Mac...

Date: Thursday 9th February 2017