magithub icon indicating copy to clipboard operation
magithub copied to clipboard

Set default repo for cloning if browse-url-url-at-point/lm-homepage looks like github repo URL

Open a13 opened this issue 7 years ago • 0 comments
trafficstars

It would be great if magithub-clone--get-repo looked if (browse-url-url-at-point) or (lm-homepage) matches typical github repository url, e.g. https://github.com/vermiculus/magithub and set a default prompt to it.

Something based on:

(or (magithub--url->repo (browse-url-url-at-point))
    (magithub--url->repo (lm-homepage)))

Thanks!

a13 avatar Feb 08 '18 11:02 a13