Skip to content

Commit

Permalink
feat: Add difftastic.el
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Jan 1, 2024
1 parent a302421 commit 81e80c0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config.el
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,17 @@
age-default-recipient "~/.ssh/id_ed25519.pub")
(age-file-enable))

(use-package! difftastic
:after magit
:bind (:map magit-blame-read-only-mode-map
("D" . difftastic-magit-show)
("S" . difftastic-magit-show))
:config
(eval-after-load 'magit-diff

Check warning on line 620 in config.el

View workflow job for this annotation

GitHub Actions / check (snapshot, false)

`eval-after-load' is for use in configurations, and should rarely be used in packages.
'(transient-append-suffix 'magit-diff '(-1 -1)
[("D" "Difftastic diff (dwim)" difftastic-magit-diff)
("S" "Difftastic show" difftastic-magit-show)])))

;;; Custom Variables
(custom-set-variables
;; custom-set-variables was added by Custom.
Expand Down
1 change: 1 addition & 0 deletions packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

;; Experimental
(package! age)
(package! difftastic)
(unpin! apheleia)
(package! gptel)
(package! chatgpt-shell)
Expand Down

0 comments on commit 81e80c0

Please sign in to comment.