Thursday, January 23, 2014

Re: Yank current word into a register e.g. register "+

On Thursday, January 23, 2014 11:22:31 AM UTC-5, Al wrote:
>On 23 January 2014 16:20, A. S. Budden <abuddenATgmail.com> wrote:
>>On 23 January 2014 16:17, Paul <paul.domaskisATgmail.com> wrote:
>>> Is there a way to yank the current word (in which the cursor
>>> resides) into a register? Currently, I do
>>>
>>> b"+ye
>>
>> "+yaw or "+yiw depending on how much you want to grab
>>
>> See :help aw and :help iw
>
>Oh, and it's also worth looking at aW and iW as well.

Thanks, Al!

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: