News for hackers. Stuff that matters.
Re:Five lines I put in a blank .vimrc by ogre_codes on Sunday December 13, 2020 @05:51PM (#25411234)
I guess I don't see a lot of situations where I use systems so casually that I don't have config options set. Even when I was managing a bunch of systems I would push out the same config on them all.
Re:Five lines I put in a blank .vimrc by Lio on Monday December 14, 2020 @03:57AM (#25414862)
One scenario I could see this fitting is when having to connect to some docker container and test a change on the fly.

That's a bit naughty but sometimes needed to prove something useful.

In that case you've got an effemeral file system, and probably had to install Vim in the first place, knowing that that when you close the container all will be forgotten.

Ofcourse in that situation you probably don't need to disable the Vim swap files, so that's one less thing to changet the defaults on.

I often use Busybox for that kind of thing as you're usually missing other useful OS stuff and its little Vi clone is usually enough.