Debugging your vimrc

Image for Debugging your vimrc from

By Andrew McCombe
August 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:

[email protected]$ vim -V9vim.log myfile

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