GNU-devel ELPA - diff-hl

diff-hl Atom Feed

Description
Highlight uncommitted changes using VC
Latest
diff-hl-1.10.0.0.20241012.214233.tar (.sig), 2024-Oct-13, 170 KiB
Maintainer
Dmitry Gutov <dmitry@gutov.dev>
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.10.0.0.20241011.223237.tar.lz2024-Oct-1233.6 KiB
diff-hl-1.10.0.0.20240802.231611.tar.lz2024-Aug-0333.5 KiB
diff-hl-1.9.2.0.20240719.105145.tar.lz2024-Jul-1933.5 KiB
diff-hl-1.9.2.0.20240715.1507.tar.lz2024-Jul-1533.5 KiB
diff-hl-1.9.2.0.20240702.202011.tar.lz2024-Jul-0333.4 KiB
diff-hl-1.9.2.0.20240505.211034.tar.lz2024-May-0633.4 KiB
diff-hl-1.9.2.0.20231207.3202.tar.lz2023-Dec-0732.5 KiB
diff-hl-1.9.1.0.20230104.220323.tar.lz2023-Jan-0532.4 KiB
diff-hl-1.8.8.0.20220816.191522.tar.lz2022-Aug-1632.3 KiB
diff-hl-1.8.7.0.20201127.232542.tar.lz2020-Dec-1421.2 KiB