Osho GG wrote:

Hi All,

I know this mustbe pretty simple but I can't figure this out. I want
to copy a word into a buffer without moving the cursor. Currently I do
something like

*"ayw^O:noh<CR>

to get this effect. But, this seems like such a round about way to do
this. Is there a simpler way to achieve this?


:let @a= expand("<cword>")

Regards,
Chip Campbell

Reply via email to