Sunday, December 11, 2016

Re: how to delete specified pattern

On Sun, Dec 11, 2016 at 10:59 AM, Sand Glass <youngluoyang@gmail.com> wrote:
>
>> by the way, in windows environment, how can I copy command line to clipboard?
>> I select and try 'y' or 'Ctrl+c', not worked.
>
> paste:
> :<C-R>+
> copy:
> q:
>
> similar for find line
> /<C-R>+
> q/

To copy _the command line_, not just any line in a text, see ":help
modeless-selection". Your Vim instance must receive mouse actions for
the copy to work. Since the copy is done into the clipboard, you can
paste normally, using egister +

Best regards,
Tony.

--
--
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/d/optout.

No comments: