native_messenger icon indicating copy to clipboard operation
native_messenger copied to clipboard

Can I access the native messenger from js file?

Open shth opened this issue 1 year ago • 0 comments

I want to add a script that will run on certain urls using autocmds. And I want it to execute some commands in the terminal using native messenger. Is that possible?

Example:

autocmd DocStart gitlab\.com js -r example.js
// example.js
// execute some command in terminal with some parameters, e.g. echo "..."

shth avatar Jan 08 '24 05:01 shth