Replies: 4 comments 1 reply
-
Unfortunately there is currently no way to know if a certain message is output from a command, but you can use |
Beta Was this translation helpful? Give feedback.
-
I thought that might be your answer. Since Noice depends on Nui though, I had the thought last night of creating a wrapper window as a context to run a command. The use cases I have for needing the sticky window are all bound to custom keymaps and commands, so using this wrapper and then feeding command output to the buffer should be feasible. Technically this wouldn't be part of Noice, but my question for you is would it make sense to include this as an option? Something like |
Beta Was this translation helpful? Give feedback.
-
I pretty miuch finished a new feature where you can use a cmdline filter in your routes. So in your case, you'll be able to do: routes = {
{
view = "some_popup_view",
filter = { cmdline = "^:!" },
},
}, Will probably push my changes tomorrow. |
Beta Was this translation helpful? Give feedback.
-
I just added a new feature that allows command redirection. Check the docs! |
Beta Was this translation helpful? Give feedback.
-
Hi there, Loving Noice and TokyoNights, big fan of your work.
I just started playing around with Noice and one thing I noticed is that when I run shell commands with
:! ---
it pops up in the message box as expected. However, it then times out and closes again. Sometimes I want to read the output of the command and this makes doing so nearly impossible.What would be a good starting point to possibly populate the output from integrated shell commands to a Nui popup that is both sticky until dismissed (with most likely) and also left justified instead of right justified like I have now? Not using Nvim-notify btw, I like the messages in the bottom right without.
Beta Was this translation helpful? Give feedback.
All reactions