magithub icon indicating copy to clipboard operation
magithub copied to clipboard

Copy link to clipboard

Open aaronjensen opened this issue 7 years ago • 4 comments

After creating a pull request, gh-pulls copies a link to the PR to your clipboard. This is super handy and would be great if magithub did the same. Thanks!

aaronjensen avatar Jan 20 '18 22:01 aaronjensen

After creating a pull request in magithub, the pull request is actually opened in emacs. From there you can use w (magithub-browse-thing) to open the PR in your browser. Do you want some other keybinding (perhaps M-w) to just copy the URL as a kill?

vermiculus avatar Jan 20 '18 23:01 vermiculus

Ah, didn't know about w. I do still like the auto-copy, but I can probably live w/ w. Something like what you're describing w/ M-w is often useful for things like copying a link to a file on github, so I could see it being useful in this case too.

aaronjensen avatar Jan 20 '18 23:01 aaronjensen

Cool 😄 I still like the idea of M-w, so I'll leave this open for that feature request.

You should take a peek at magithub-map 😉

vermiculus avatar Jan 20 '18 23:01 vermiculus

Seems it's related to #284

agzam avatar Mar 30 '18 06:03 agzam