diff options
-rw-r--r-- | VERSION | 4 | ||||
-rw-r--r-- | vim/vimrc | 20 |
2 files changed, 11 insertions, 13 deletions
@@ -1,2 +1,2 @@ -tejr dotfiles v10.9.0 -Fri, 18 Sep 2020 09:33:21 +0000 +tejr dotfiles v10.10.0 +Sat, 19 Sep 2020 08:18:20 +0000 @@ -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 !=# '' endif " 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. -" -set history=10000 +" 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. +" +set history=300 " 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 |