1.2 KiB
1.2 KiB
VCS
When it comes to git, (which is all that's configured for now), the easy choice is Magit. I've kept the configuration pretty minimal. Only adding forge support really.
(use-package transient
:defer t)
(use-package magit
:defer t
:after (transient)
:bind (("C-c M" . magit-dispatch))
:custom
(magit-diff-refine-hunk 'all)
:config
(transient-bind-q-to-quit))
(use-package forge
:after (magit))
Consult Github Integration
In an effort to reduce switching to the browser, or searching through repositories in general I've chosen to use consult-gh.
(use-package consult-gh
:ensure (:host github :repo "armindarvish/consult-gh")
:after consult
:config
(require 'consult-gh-transient))
The package offers embark, and magit-forge support. As I use both of those I'll go ahead and enable it.
(use-package consult-gh-embark
:after consult-gh
:config
(consult-gh-embark-mode +1))
(use-package consult-gh-forge
:after consult-gh
:config
(consult-gh-forge-mode +1))