Inline git diffs in editor. Can revert/copy specific diff.
inline-git-diff:toggle: Enable/disable inline diff
inline-git-diff:revert: Revert diff at cursor
inline-git-diff:copy-removed-text: Copy removed diff to clipboard
inline-git-diff:toggle.(handled per editor basis)
For default keymap, see this file.
'atom-text-editor.vim-mode-plus.normal-mode':'g d': 'inline-git-diff:toggle''atom-workspace:not(.has-narrow) atom-text-editor.vim-mode-plus.normal-mode.has-inline-git-diff':'tab': 'git-diff:move-to-next-diff''shift-tab': 'git-diff:move-to-previous-diff''atom-text-editor.vim-mode-plus.normal-mode.has-inline-git-diff':'g r': 'inline-git-diff:revert''g c': 'inline-git-diff:copy-removed-text'
My workflow is
g dto see inline diff.
tabto review changes I made, after review hit
tabto move to next diff.
aboveof removed place not at
revert, I tried and given up because I couldn't achieve smooth fadeout effect as it is in
copy-removed-textso that user can revert/copy where cursor is not strictly placed at diff
toggleto avoid Atom startup overhead.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.