I am trying to make emacs open the url displayed under the current point when I left click and press the super key at the same time.
I am trying with this code but it does not work
(global-set-key (kbd "<s-mouse-1>") #'(lambda () (interactive) (browse-url) (kbd "<return>")))
(kbd "<return>") part would be used to invoke to invoke a return in the mini-buffer: when
browse-url is called the user must confirm to open the url by pressing return in the mini-buffer.