How do I copy the current file to clipboard? I am not looking to copy the file contents itself. I want to copy the file and attach it in a different application.
An example of my use case
How do I achieve #3?
Thanks!
I achieved this in gVim using:
:noremap cf:silent !powershell Set-Clipboard -Path %
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.