|author||Tom Ryder <firstname.lastname@example.org>||2020-09-19 20:18:06 +1200|
|committer||Tom Ryder <email@example.com>||2020-09-19 20:18:06 +1200|
|parent||Merge branch 'release/v10.9.0' into develop (diff)|
Lower 'history' to 300 to keep startup snappy
Diffstat (limited to 'vim')
1 files changed, 9 insertions, 11 deletions
@@ -2,7 +2,7 @@
" Tom Ryder (tejr)’s Literate Vimrc
-" Last updated: Fri, 18 Sep 2020 09:04:53 UTC
+" Last updated: Sat, 19 Sep 2020 08:17:28 UTC
" │ And I was lifted up in heart, and thought
" │ Of all my late-shown prowess in the lists,
@@ -193,16 +193,14 @@ if s:xdgcachehome !=# ''
" Speaking of recorded data in viminfo files, the default Vim limit of a mere
-" 50 entries for command and search history is pretty stingy. Because I don’t
-" think I’m ever likely to be in a situation where remembering several
-" thousand Vim commands and search patterns is going to severely tax memory,
-" let alone disk space, I’d rather this limit were much higher. It’s
-" sometimes really handy to dig up commands from many days ago.
-" The maximum value for the 'history' option is documented in ‘:help
-" 'history'’ as 10000, so let’s just use that, and see if anything breaks.
+" 50 entries for command and search history is pretty stingy. The documented
+" maximum value for this option is 10000. I used that for a while, but
+" eventually found that on lower-powered machines, keeping this much command
+" history slowed Vim startup down a bit much for my liking, so I've scaled
+" this back to a more conservative 300. If I end up missing useful commands,
+" I might try switching this on available memory instead.
" We’ll now enable automatic backups of most file buffers, since that’s off by
" default. In practice, I don’t need these backups very much, at least if I’m