I want to write a command that specifies \"the word under the cursor\" in VIM. For instance, let\'s say I have the cursor on a word and I make it appear twice. For instance, i
ywPx
will do what you describe.
ywPxw
will also advance the cursor to the next word.