I love vim's colorization of
/var/log/messages, but it only works for that – the absolute filename. It doesn't work for older rotations of messages (e.g.
/var/log/messages-20120610) or for messages files I get from other systems. How can I tweak this?
When you have the file open, you can run:
To automate this for all files called messages, put the following into
add a line in