1 files changed, 14 insertions(+), 0 deletions(-)
M init.el
M init.el => init.el +14 -0
@@ 929,6 929,20 @@
(evil-set-initial-state #'git-commit-mode 'insert))
+(my-use-package git-link
+ :ensure t
+ :general
+ (my-leader
+ "g y" '(git-link :wk "Yank link to line")
+ "g Y" '(git-link-commit :wk "Yank link to commit"))
+ :config
+ (add-to-list 'git-link-commit-remote-alist
+ '("ditigal\\.xyz" git-link-commit-sourcehut))
+ (add-to-list 'git-link-remote-alist
+ '("ditigal\\.xyz" git-link-sourcehut))
+ (add-to-list 'git-link-web-host-alist
+ '("ditigal\\.xyz" . "git.ditigal.xyz")))
+
(my-use-package hl-todo
:ensure (:pin t :tag "v3.6.0")
:after evil