Navigating Commented Config Files
The current trend with config files is to fill them with comments (let’s ignore the fact this isn’t a substitute for documentation) and while this is helpful watching people arrow through them line by line looking for active options drives me nuts.
If you’re using vim (as all good people
do ;)) you can jump from uncommented directive to uncommented directive
with /^[^#]
as a search. Pressing n
will then
move you to the next uncommented option. And save me from pulling out those
precious few hairs I have left.