Enable forge-browse-dwim keybinding in magit revision buffers
This commit is contained in:
parent
9f8d08c41d
commit
b8d7c67a97
@ -66,9 +66,14 @@
|
||||
"ghe.spotify.net/api/v3"
|
||||
"ghe.spotify.net"
|
||||
forge-github-repository))
|
||||
;; forge-topic-at-point really should just return nil if the buffer is not readable
|
||||
(advice-add 'forge-topic-at-point :around
|
||||
(lambda (oldfn &rest args)
|
||||
(ignore-errors (apply oldfn args))))
|
||||
:custom
|
||||
(forge-owned-accounts '((jdormit . (remote-name "jdormit"))))
|
||||
:general
|
||||
(normal magit-mode-map "yu" #'forge-copy-url-at-point-as-kill))
|
||||
(normal magit-mode-map "yu" #'forge-copy-url-at-point-as-kill)
|
||||
(magit-revision-mode-map [remap magit-browse-thing] #'forge-browse-dwim))
|
||||
|
||||
(provide 'init-git)
|
||||
|
Loading…
Reference in New Issue
Block a user