Saturday, May 9, 2015

Re: leaving message buffer open

Hi Mark!

On Fr, 08 Mai 2015, Mark Volkmann wrote:

> Is there a way to open the message buffer in a window so it is always visible?
> This could be useful while debugging a new plugin that uses echomsg to output
> debugging messages.

I am lazy, so whenever I need this, I leave that Vim open and open a
second instance ;)

Alternatively, you can of course capture the messages and open a new
window with it contained.

Something like this:
:com! Messages :redir =>a|sil mess|redir end|new |set buftype=nofile|0put =a

Best,
Christian
--
Das höchste Recht ist zugleich das höchste Unrecht.
-- Marcus Tullius Cicero (106-43 v.Chr.)

--
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: