Try out git-link.el

Looks very promising!
This commit is contained in:
Daniel Borchmann 2025-08-24 17:46:28 +02:00
parent 9f0738ae60
commit 30aa2732a8
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

13
init.el
View File

@ -1601,6 +1601,18 @@ Note that this workaround is incomplete, as explained in this comment."
:init (setq git-commit-style-convention-checks '(non-empty-second-line
overlong-summary-line)))
(use-package git-link
:commands (git-link
git-link-dispatch)
:init (setopt git-link-consider-ssh-config t
git-link-open-in-browser t
git-link-use-commit t)
:config (progn
(add-to-list 'git-link-remote-alist
'("gitea\\.c3d2\\.de" git-link-gitea))
(add-to-list 'git-link-commit-remote-alist
'("gitea\\.c3d2\\.de" git-link-commit-gitea))))
(use-package highlight-indentation
:commands highlight-indentation-mode)
@ -3068,6 +3080,7 @@ Note that this workaround is incomplete, as explained in this comment."
(bind-key "C-c c" #'org-capture)
(bind-key "C-c d" #'define-word-at-point)
(bind-key "C-c e" #'crux-eval-and-replace)
(bind-key "C-c g l" #'git-link)
(bind-key "C-c h #" #'helm-emms)
(bind-key "C-c h m" #'man)
(bind-key "C-c h p" #'list-processes)