git-diff-details

View git diffs directly in atom.

samu

76,407

125

1.4.0

MIT

GitHub

git-diff-details package

View git diffs directly in atom.

Please note this package will show one diff at a time, as opposed to all diffs at once (see #58).

Keybindings

Syntax highlighting

You can choose whether the diff should be highlighted or not:

git-diff-details

git-diff-details

Styling

You can style the diffs to your liking. Here's an example:

atom-text-editor::shadow .line {
  &.git-diff-details-new-highlighted {
    background-color: rgba(162, 232, 120, 0.4) !important;
  }

  &.git-diff-details-old-highlighted {
    background-color: rgba(232, 120, 120, 0.4) !important;
  }

  &.git-diff-details-new-flat {
    background-color: rgba(162, 232, 120, 0.7) !important;
  }

  &.git-diff-details-old-flat {
    background-color: rgba(232, 120, 120, 0.7) !important;
  }
}

Contributing

I'd like to be conservative about adding features to this plugin. If you want to implement something, please create an issue first so we can discuss whether i'd accept a pull request.