I just implemented a simple but really powerful user command suggested by romainl in lua, running asynchronously using vim.uv
API.
In short, this is a command named Redir
, which redirect ex command
or shell commands
stdin/sterr to neovim buffers. So you can view them in split window on the fly.
With Redir
, you can do:
- A good way to inspect your neovim.
" show all your messages in split, I love this one and make it default