Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error message when Vim is closed

Tags:

vim

I am tweaking my vimrc but everytime when I close Vim I can see that there is a red error message displayed. However, Vim closes too fast so I cannot read it.

Is there any way to get to that error message using the latest Vim on Windows 7?

like image 598
orschiro Avatar asked Mar 09 '12 17:03

orschiro


1 Answers

Open your _vimrc, ... do stuff ..., source it with :so % - the message should be displayed, and you should be able to see it in :messages.

If it is only occuring when you close Vim, even with an empty _vimrc, then it isn't a problem in your _vimrc.

like image 88
Rook Avatar answered Sep 25 '22 18:09

Rook