Debugging your vimrc
August 12th, 2011
Warning: This post is 13 years old. Some of this information may be out of date.
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:
andrew@andrew$ vim -V9vim.log myfile
This will then create a logfile called vim.log
in the current working directory.