>
> I'm sorry - I'm not understanding what you're doing here. Wouldn't 'i'
> put you into insert mode and then there would be a 'w' character
> that's pasted.
if i is the first character you digit, yes, it goes in insert mode,
while, using it before a text-object, it means "inner"-text-object, in
this case, "inner word".
So, reassuming, the complete command is:
yiw
Which means:
y -> yank
iw -> inner word on which the mouse is on regardless the cursor's
position on the word
to paste it, just press p or P
Note, to paste a text from a buffer (:reg to see them) you must first
select the buffer name and then press p.
E.g. to paste the buffer number 7, you must digit "7p
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment