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-cOpens changes panel
righton a file focuses hunk- select hunks with
upordown enterto stage hunk/to toggle line selection modeshift-uporshift-downto expand line selectionato select linesenterto stage selected linesbackspacewhile on a changed file (not the diff) will prompt to discard changesoon a changed file or hunk/line will open that file in a tab