I have configured a keyboard shortcut using xbindkeys to run a python script.
Now, while editing any vim file if that user press that keyboard shortcut-
I want my python script to run this command to paste the path and line no to the system clipboard-
:let @+=expand("%") . ':' . line(".")Then I want my script to copy that path from the system clipboard and process it further
Can you please suggest me a good solution for this. Thanks In advance
os.system("echo 'hello world' | pbcopy")