nixfleet/users/profiles/emacs/emacs.d/config/config-magit.el
Andrea Ciceri 6791cb51a2
Various
- firewall rule for VNC for `pc` host
- `go-translate` emacs package with custom bindings
- `magit-delta` to improve diffs readability with `magit` through
  `delta`
- `fira-code-mode` enabled only in `prog-mode`
- `mpv` is spawned by `qutebrowser` without waiting for video being
  loaded
2022-04-30 14:07:16 +02:00

21 lines
454 B
EmacsLisp

(use-package magit
:bind (("C-x g" . magit-status)
("C-x C-g" . magit-status)))
(use-package magit-delta
:hook (magit-mode . magit-delta-mode))
(use-package transient
:defer t
:config
(transient-bind-q-to-quit))
(use-package diff-hl
:after magit
:config
(require 'diff-hl-flydiff)
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)
(diff-hl-flydiff-mode t)
(global-diff-hl-mode t))
(provide 'config-magit)