2015-08-16 0:02 GMT+03:00 "Cedric Bhihe (毕生泰)" <cedric.bhihe@gmail.com>:
> Is there a way to limit the size of the ~/.viminfo file from within vim ?
> (not manually or with an external script skimming
> I am thinking specifically about limiting the extent to which cmd history
> accrues.
Input history is limited by 'history' option by default. You may also
use 'viminfo' option, entries {histchar}{number} per each history type
(check :h :history, search history uses /): e.g.
set viminfo+=/100
in your vimrc will limit maximum number of search pattern items stored
in viminfo. All other histories will be limited by 'history' option up
until you override this in 'viminfo' option.
> Cheers.
> -ced
> GMT+1
> ________________________________
>
> --
> --
> 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.
--
--
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.
Saturday, August 15, 2015
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment