Skip to content

jumper047/magit-delta

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This Emacs package provides a minor mode which configures Magit to use delta when displaying diffs.

  1. Install delta.

  2. Install magit-delta from MELPA.

  3. Use M-x magit-delta-mode to toggle between using delta, and normal magit behavior. To activate it automatically:

    (add-hook 'magit-mode-hook (lambda () (magit-delta-mode +1)))

    Or with use-package

    (use-package magit-delta
      :hook (magit-mode . magit-delta-mode))


image

If you run emacs as a terminal application (emacs -nw) and colors are not being rendered correctly, then follow the instructions here: https://www.gnu.org/software/emacs/manual/html_node/efaq/Colors-on-a-TTY.html.

Credit

About

Use delta (https://github.com/dandavison/delta) when viewing diffs in Magit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%