Take some of the original git package code, add a model, and use etch.
Goal is to prototype:
git clone [email protected]:atom/git.git
cd git
apm install
apm link -d
atom .
cd ../some-dir-with-a-git-repo
atom -d
cmd-shift-c
Opens changes panel
right
on a file focuses hunk- select hunks with
up
ordown
enter
to stage hunk/
to toggle line selection modeshift-up
orshift-down
to expand line selectiona
to select linesenter
to stage selected linesbackspace
while on a changed file (not the diff) will prompt to discard changeso
on a changed file or hunk/line will open that file in a tab