Troubleshooting

I recently messed around with vim configuration, and now when I open the first file in gVim, I see some warnings that quickly disappear. Where else can I see them and see what is wrong?

+4
source share
1 answer

Try one of the following:

  • After starting vim, use the command :messages . It will show you all the messages (except those that were reflected using echo or echon ).
  • Redirect vim output to some file: vim -c 'qa!' > messages.log vim -c 'qa!' > messages.log .
  • Launch vim using vim --cmd 'redir! > messages.log' -c 'redir END' -c 'qa!' vim --cmd 'redir! > messages.log' -c 'redir END' -c 'qa!' , then watch messages.log .
+9
source

Source: https://habr.com/ru/post/1332933/


All Articles