Friday, October 22, 2010

Re: problem: vim can only yank for 50 lines in vim

Hi,

robert song wrote:
> Hi, everyone.
>
> I uses w3m to browse some pages and edit it with vim, but I can only
> paste 50 lines in vim, so maybe some configuration is wrong in my vim,
>
> Reproduce the problem.
> - download the w3m package.
> - sudo yum install w3m
> - open a site
> - w3m www.lwn.net
> - set the configuration of w3m.
> - press "o" key.
> - modify the editor to /usr/bin/vimx
> - edit the page with vim.
> - press "Esc-e".
> - yank for more than 50 lines.
> - 100yy
> - quit the vim
> - :q
> - edit the page once again
> - press "Esc-e".
> - paste the yanked lines.
> - p
>
> you can see only 50 lines was added.
> Does anyone know this problem?
>
> My vim set option is as follows:
>
[snip]
> viminfo='20,<50,s10,h
[snip]

the contents of the remembered registers is restricted to 50 lines. If
you want to store more, you can

:set viminfo='20,<1000,s10,h

in your ~/.vimrc. This will allow you to store 1000 lines per registers.

Or you can use the clipboard to store the yanked lines between
subsequent invocations of Vim.

Regards,
Jürgen

--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)

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