In Vim, I tried to assign a shortcut to send the selected text to Phind (or any other LLM) and came up with this:
:'<,'>y|call system('firefox <url>?q='.shellescape(@*).' &')
The only problem left is that the text is not urlencoded.
There probably is some elegant way to urlencode it. But I did not come up with one yet.