26 Dec 2023

Vim Reident OpenBSD Configs

There are tons of plugins averaging about 50G to 100Tb to solve auto indent for config files. However, this can be done in stock vim easily.

Open a config file such as /etc/dhcpd.conf

When you are at the top of the file and in normal mode, simply type

=G