>>>as a command, so I'd just 'v' the pathname to highlight it,
>>>control-insert it to yank it into the "clipboard"(?), then do
>>>    :s@<sh-ins>@@g
>>>ie, use shift-insert to "paste" the path directly into the command.
>>>is that any help, or were you referring to something different?

>>Unless I'm mistaken, these are OS-specific copy/paste commands, 
>>correct?  I don't have an 'insert' key on my keyboard, but I was
hoping 
>>for something built into vim, where it has it's own copy/paste buffer 
>>that it can use in the command mode.

>The clipboard is known in Vim as the + register.
>Yank to the clipboard with "+y
>Paste ("put") before the cursor with P -- after the cursor with p
>Prefix it with "+ to use the system clipboard.

What he said...

I recall there's some confusion on some OSes between '+' and '*', so I
can't help out with that, but in general, yeah, the vimmy way to do it
would be to use registers.  I'm just so used to ^X/^C/^V with other
stuff that I "adapted" to using ^del/^ins/sh-ins to do similar ops in
'vim'.

Have fun!

Reply via email to