diff options
author | Martin Polden <mpolden@mpolden.no> | 2020-06-11 19:13:59 +0200 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2020-06-11 19:13:59 +0200 |
commit | 759655563a06b2125d583fccef7cd592c0aedfed (patch) | |
tree | af81c0a25d80d03b84ae6bf49b4d0ccfc3e715b4 | |
parent | 640f66aece55e611621133c8d025a7d9d25a8c27 (diff) |
git: Killing in pullreq or issue section copies the URL at point
-rw-r--r-- | lisp/init-git.el | 7 |
1 files changed, 6 insertions, 1 deletions
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) |