automatically fire smerge hydra in conflict buffers

This commit is contained in:
2026-08-19 23:43:55 +02:00
parent 1ce0a66378
commit 9659ad8b58

View File

@@ -15,6 +15,13 @@
;; the hassle to go to status before just committing etc. So: ;; the hassle to go to status before just committing etc. So:
(("C-c g" . magit-file-dispatch)) (("C-c g" . magit-file-dispatch))
:hook
;; automatically fire up smerge hydra when visiting a buffer
;; containing merge conflict[s]. Hydra see init-ediff.el
(magit-diff-visit-file . (lambda ()
(hydra-smerge/body)))
:config :config
(magit-todos-mode) (magit-todos-mode)