I am creating a yasnippet to create org-mode link with content like:
[[$1:value-read-from-clipboard][$0]]
I wish the $1 read value from clipboard (the use-case is: I copy the URL from chrome browser and use this yasnippet to automatically attach the URL string into a link in org file).
I am using evil-mode, so the clipboard value is saved in "* register.
Question is: 1.how to read clipboard value in yasnippet, perhaps by elisp code? 2.I am open to any better solution to achieve this use-case.
org-cliplink
package.