I'm able to paste text to other application using CTRL + V
.
But when I try :let @" = expand("%:p")
, then paste it to the other application it will just paste my last normal yanked text, instead the path of the file.
How I can paste the file path to other application from vim?
P.S.
When I paste the path to the vim instance, I can paste it using "0p
.
y
to yank, I got no idea about+
or*
. How I can check what register I'm using?:help "+
; there’s probably an easier way but I cannot remember off the top of my head.+
, I tried to look at:reg
the yanked text is also on the"+
.y
, the value of""
,"0
and"+
changed to the yanked value, but when I do:let @" = expand("%:p")
only the""
and"0
is updated while the"+
is not.