Thursday, July 18, 2013

Re: yank / delete / paste without output

On Thu, Jul 18, 2013 at 3:04 PM, Gary Johnson <garyjohn@spocom.com> wrote:
On 2013-07-18, Óscar Pereira wrote:
>
>   normal! gv"xy
>   "... modify the text ...
>   normal! gvd
>   normal! "xP
>
> It works fine, except for the warning "x more lines", which makes me
> press Enter needlessly. Is there any way to remove that warning?

Does setting 'report' to a high value help?  If so, you could save
and restore it in your function, e.g.,

    let l:report = &report
    set report=9999
    " Do it.
    let &report = l:report

     How about

:silent normal! "xP
:help :silent

P.S. Is there a way to configure Gmail's web interface to make bottom-posting more convenient?

-- 
HTH
Benji Fisher

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