From 759655563a06b2125d583fccef7cd592c0aedfed Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Thu, 11 Jun 2020 19:13:59 +0200 Subject: git: Killing in pullreq or issue section copies the URL at point --- lisp/init-git.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lisp/init-git.el') diff --git a/lisp/init-git.el b/lisp/init-git.el index 3ecc6cc..d9cae63 100644 --- a/lisp/init-git.el +++ b/lisp/init-git.el @@ -42,7 +42,12 @@ :after magit :init ;; limit number of topics listed in status buffer - (setq forge-topic-list-limit '(10 . 0))) + (setq forge-topic-list-limit '(10 . 0)) + :bind (;; killing in pullreq or issue section copies the url at point + :map forge-pullreq-section-map + ([remap magit-delete-thing] . forge-copy-url-at-point-as-kill) + :map forge-issue-section-map + ([remap magit-delete-thing] . forge-copy-url-at-point-as-kill))) ;; follow symlinks to files under version control (setq vc-follow-symlinks t) -- cgit v1.2.3