Closed ashton closed 9 months ago
Thanks for the PR but I'd rather not add another configuration option just for this. I have this in my config
vim.api.nvim_create_autocmd("FileType", {
pattern = "neotest-*",
callback = function(opts)
vim.keymap.set("n", "q", function() vim.api.nvim_win_close(0, true) end,
{ buffer = opts.buf, })
end,
})
and it covers the attach and summary windows too
Hey there, when accessed via
Summary
, output pop up get focused and the only way of quitting it is to change to another window/buffer. I found that odd and kind of annoying, so I'm adding a configurable mapping (disabled by default, so we don't have any changes on the current behavior) for closing the output pop up when it is the current focused window / buffer.