Skip to content

Instantly share code, notes, and snippets.

Created January 28, 2015 12:07
What would you like to do?
function! s:linktotag()
let tag = system("curl -s -F 'link=" . g:linktotag_link . "'")
execute ':normal! a ' . tag
call setpos('.', getpos('.'))
command! -nargs=? Linktotag :call s:linktotag()
Copy link

let g:linktotag_link = ''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment