GNU-devel ELPA - diff-hl

diff-hl

Description
Highlight uncommitted changes using VC
Latest
diff-hl-1.9.2.0.20240505.211034.tar (.sig), 2024-May-06, 170 KiB
Maintainer
Dmitry Gutov <dmitry@gutov.dev>
Atom feed
diff-hl.xml
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.0.20240401.235744.tar.lz2024-Apr-0233.4 KiB
diff-hl-1.9.2.0.20240225.11635.tar.lz2024-Mar-3133.4 KiB
diff-hl-1.9.2.0.20240127.3432.tar.lz2024-Jan-2733.4 KiB
diff-hl-1.9.2.0.20231207.3202.tar.lz2023-Dec-0732.5 KiB
diff-hl-1.9.2.0.20230807.151654.tar.lz2023-Aug-0732.5 KiB
diff-hl-1.9.1.0.20230104.220323.tar.lz2023-Jan-0532.4 KiB
diff-hl-1.9.0.0.20221007.214758.tar.lz2022-Oct-0832.4 KiB
diff-hl-1.8.8.0.20220816.191522.tar.lz2022-Aug-1632.3 KiB
diff-hl-1.8.8.0.20201220.100605.tar.lz2020-Dec-2022.7 KiB
diff-hl-1.8.7.0.20201127.232542.tar.lz2020-Dec-1421.2 KiB