GNU ELPA - diff-hl

diff-hl Atom Feed

Description
Highlight uncommitted changes using VC
Latest
diff-hl-1.10.0.tar (.sig), 2024-Aug-03, 170 KiB
Maintainer
Dmitry Gutov <[email protected]>
Website
https://github.com/dgutov/diff-hl
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

`diff-hl-mode' highlights uncommitted changes on the side of the
window (using the fringe, by default), allows you to jump between
the hunks and revert them selectively.

Provided commands:

`diff-hl-diff-goto-hunk'  C-x v =
`diff-hl-revert-hunk'     C-x v n
`diff-hl-previous-hunk'   C-x v [
`diff-hl-next-hunk'       C-x v ]
`diff-hl-show-hunk'       C-x v *
`diff-hl-stage-current-hunk' C-x v S
`diff-hl-set-reference-rev'
`diff-hl-reset-reference-rev'
`diff-hl-unstage-file'

The mode takes advantage of `smartrep' if it is installed.

Alternatively, it integrates with `repeat-mode' (Emacs 28+).

Add either of the following to your init file.

To use it in all buffers:

(global-diff-hl-mode)

Only in `prog-mode' buffers, with `vc-dir' integration:

(add-hook 'prog-mode-hook 'turn-on-diff-hl-mode)
(add-hook 'vc-dir-mode-hook 'turn-on-diff-hl-mode)

Old versions

diff-hl-1.9.2.tar.lz2024-Mar-3132.4 KiB
diff-hl-1.9.1.tar.lz2023-Jan-0532.4 KiB
diff-hl-1.9.0.tar.lz2022-Aug-2932.4 KiB
diff-hl-1.8.8.tar.lz2020-Dec-2022.7 KiB
diff-hl-1.8.7.tar.lz2019-Jul-08 220 KiB
diff-hl-1.8.6.tar.lz2019-Feb-24 220 KiB
diff-hl-1.8.5.tar.lz2018-Dec-09 220 KiB
diff-hl-1.8.4.tar.lz2016-Jun-2310.5 KiB
diff-hl-1.8.3.tar.lz2016-Feb-0410.4 KiB
diff-hl-1.8.2.tar.lz2016-Jan-1110.00 KiB
diff-hl-1.8.1.tar.lz2015-Oct-3110.0 KiB
diff-hl-1.8.0.tar.lz2015-Sep-109.96 KiB
diff-hl-1.7.0.tar.lz2015-Jan-038.36 KiB
diff-hl-1.6.0.tar.lz2014-Aug-117.73 KiB
diff-hl-1.5.3.tar.lz2014-Feb-137.33 KiB
diff-hl-1.5.2.tar.lz2014-Feb-127.30 KiB
diff-hl-1.5.1.tar.lz2013-Nov-117.05 KiB