On , I learnt ...
How to copy the current filepath to the system clipboard in Vim
Run:
:let @* = expand("%")
where @*
references the system clipboard register.
Run:
:let @* = expand("%")
where @*
references the system clipboard register.