feat(notify): added keymap to dismiss all notifications

This commit is contained in:
Folke Lemaitre
2023-01-02 20:14:11 +01:00
parent 94e6f57955
commit 79bb9e17da

View File

@ -2,6 +2,15 @@ return {
-- better vim.notify
{
"rcarriga/nvim-notify",
keys = {
{
"<leader>nc",
function()
require("notify").dismiss({ silent = true, pending = true })
end,
desc = "Clear all Notifications",
},
},
config = {
timeout = 3000,
max_height = function()