Nice, thank you very much. I modified the viminfo varaible, and now it works.
Best Wishes, robert On 10/22/10, ZyX <[email protected]> wrote: > Reply to message «problem: vim can only yank for 50 lines in vim», > sent 13:29:34 22 October 2010, Friday > by robert song: > >> 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 > It is not related to w3m anyhow. You are quiting vim and whenever you quit, > the > viminfo file is written where registers are saved. But by default length of > registers is limited to 50 lines or 10 kiB (which hits first). To remove all > limitations, add the following to the vimrc (it is the default with all > limitations removed): > set viminfo='100,h > If you want just to adjust this limitation and do not remove it (for > example, to > forbid your viminfo to grow too large), see description of `<' and `s' > characters in ``:help viminfo''. > > You can also use system registers instead of viminfo: prepend «"+» to all > paste > and yank commands, so they look like this: «"+100yy» and «"+p». Your system > is > likely not to have such limitations, see section 7 in `:help registers'. > -- 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
