Repository navigation
How do I make sure previous contents of cmdline message are hidden? #1224
Replies: 2 comments
|
Add close = {
events = { "BufLeave", "CmdlineEnter" },
keys = { "q", "<Esc>" },
},A noice view only drops its messages in Also, |
|
Hey @shreechaturvedi, thanks a lot for the reply, I had almost lost hope lol. But one more question, why does For example, if in the cmdline, I type Is this a bug that I should report or am I misunderstanding how it's supposed to work? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey everyone, I recently started using NeoVim and quite like it. I am not very experienced, I only started using it the last week of June. I am tinkering around with my config which is forked off the kickstart NeoVim config by TJ. I have configured notify.nvim in my nvim config like so:
(Find more at https://github.com/103sbavert/nvim-config/)
And the result looks like this
When a shell command is executed from the command line (prefix !) for the first time, a new scratch buffer is created, and the shell command that was run and its output is redirected the scratch buffer.
The problem is that every subsequent shell command's output is appended to the original scratch buffer content downwards (instead of replacing its contents). Also, the
{cmdline}placeholder, for some reason, also contains the hint text that followed the cursor before I hit enter, wether or not the hint was accepted.I want to change the configuration so it always re-writes the buffer content when a new shell command is executed and only the actual shell command that was run is shown, not the hint text that was never accepted. Is that something possible with noice/nvim at this moment?
All reactions