Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote-url-to-clipboard #3

Closed
ananthakumaran opened this issue Jun 3, 2015 · 2 comments
Closed

remote-url-to-clipboard #3

ananthakumaran opened this issue Jun 3, 2015 · 2 comments

Comments

@ananthakumaran
Copy link

Could you add a function which is similar to browse-at-remote, but puts the url into clipboard instead of opening the url. Most of the time I just want to paste the url in the issue tracker or some other place

I am rebinding browse-url in my local config to get the same effect.

(defun remote-url-to-clipboard ()
  (interactive)
  (flet ((browse-url (url &rest args)
                     (kill-new url)))
    (browse-at-remote)))
@rmuslimov
Copy link
Owner

Agree, I found myself doing same from time to time. please check my latest changes. Thanks!

@ananthakumaran
Copy link
Author

Thanks. Works great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants