Thursday, January 23, 2014

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

"+yaw or "+yiw depending on how much you want to grab

See :help aw and :help iw

Al

On 23 January 2014 16:17, Paul <paul.domaskis@gmail.com> wrote:
> Is there a way to yank the current word (in which the cursor resides) into a register? Currently, I do
>
> b"+ye
>
> --
> --
> 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.



--
http://www.cgtk.co.uk

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

Post a Comment