On 2016-01-21 18:58:24 +0000, Gary Johnson said:

On 2016-01-21, Ben Fritz wrote:
On Thursday, January 21, 2016 at 12:27:51 PM UTC-6, Nicola wrote:
From time to time, upon exiting Vim an error message flashes on the screen, but
too quickly for me to read it. I'd like to understand why it happens. Is there
a way to log such errors or somehow pause Vim when an error appears?

Nicola

Use the :messages command.

The OP is exiting Vim, so the :messages command won't be available.

If you're running Vim in terminal mode from a Linux shell, you can
use script:

1.  Run script.  This starts a new shell.
2.  Run vim.
3.  Exit vim.
4.  Exit the shell.
5.  Open the typescript file and look for the error message.

Thanks, I did not know about script (will I ever know every program in my /usr/bin?).
It does the job. Now I have to try and reproduce the error!

Nicola


--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to