Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Troubleshooting vim configuration warnings

Tags:

vim

I've been messing with vim configuration recently, and now when I open the first file in gVim, I see some warnings that disappear quickly. Where else can I see them and see what's wrong?

like image 630
marko Avatar asked Dec 21 '10 17:12

marko


1 Answers

Try one of the following:

  1. After starting vim, use :messages command. It will show you all messages (except that were echoed with echo or echon).
  2. Redirect vim output to some file: vim -c 'qa!' > messages.log.
  3. Start vim using vim --cmd 'redir! > messages.log' -c 'redir END' -c 'qa!', then observe messages.log.
like image 82
ZyX Avatar answered Nov 08 '22 13:11

ZyX