GNU-devel ELPA - diff-hl

diff-hl

Description
Highlight uncommitted changes using VC
Latest
diff-hl-1.8.8.0.20220124.32300.tar, 2022-Jan-24, 160 KiB
Maintainer
Dmitry Gutov <dgutov@yandex.ru>
Website
https://github.com/dgutov/diff-hl
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package, run in Emacs:

M-x package-install RET diff-hl RET

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.8.8.0.20220118.130442.tar.lz2022-Jan-1832.2 KiB
diff-hl-1.8.8.0.20220105.154315.tar.lz2022-Jan-0532.0 KiB
diff-hl-1.8.8.0.20211106.235341.tar.lz2021-Nov-0732.0 KiB
diff-hl-1.8.8.0.20211102.24209.tar.lz2021-Nov-0231.8 KiB
diff-hl-1.8.8.0.20211031.231056.tar.lz2021-Nov-0131.6 KiB
diff-hl-1.8.8.0.20210928.13915.tar.lz2021-Sep-2830.9 KiB
diff-hl-1.8.8.0.20210909.20753.tar.lz2021-Sep-0930.9 KiB
diff-hl-1.8.8.0.20210831.11811.tar.lz2021-Aug-3130.9 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