Debugging your vimrc


Posted by Andrew McCombe on Fri Aug 12, 2011

I made some changes to my ~/.vimrc file that didn’t seem to work and so I needed to see what was happening when vim loaded my ~/.vimrc file.

To do this you need to tell vim to log it’s output to a logfile:

This will then create a logfile called vim.log in the current working directory.