Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mgalgs/diffview-mode
View diffs side-by-side in Emacs
https://github.com/mgalgs/diffview-mode
Last synced: about 2 months ago
JSON representation
View diffs side-by-side in Emacs
- Host: GitHub
- URL: https://github.com/mgalgs/diffview-mode
- Owner: mgalgs
- Created: 2013-02-16T03:59:06.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2023-02-24T19:18:50.000Z (almost 2 years ago)
- Last Synced: 2024-10-15T11:26:59.690Z (3 months ago)
- Language: Emacs Lisp
- Homepage:
- Size: 1.08 MB
- Stars: 48
- Watchers: 6
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## diffview.el
*View diffs in side-by-side format*---
[![License GPLv3](https://img.shields.io/badge/license-GPL_v3-green.svg)](http://www.gnu.org/licenses/gpl-3.0.html)
[![MELPA](http://melpa.org/packages/diffview-badge.svg)](http://melpa.org/#/diffview)
[![MELPA Stable](http://stable.melpa.org/packages/diffview-badge.svg)](http://stable.melpa.org/#/diffview)Render a unified diff (top/bottom) in an easy-to-comprehend side-by-side
format. This comes in handy for reading patches from mailing lists (or
from whencever you might acquire them).### Installation
M-x package-install diffview
### Usage
The following functions are provided for launching a side-by-side diff:
* `diffview-current` : View the current diff buffer side-by-side
* `diffview-region` : View the current diff region side-by-side
* `diffview-message` : View the current email message (which presumably
contains a patch) side-by-side### Keybindings
* `}` : Next file
* `{` : Previous file
* `l` : Align windows
* `q` : Quit### Screenshots
Before:
After:
### Function and Macro Documentation
#### `(diffview-current)`
Show current diff buffer in a side-by-side view.
#### `(diffview-region)`
Show current diff region in a side-by-side view.
#### `(diffview-message)`
Show `message-mode` buffer in a side-by-side view.
This is useful for reading patches from mailing lists.-----