feat(notify): added keymap to dismiss all notifications
This commit is contained in:
@ -2,6 +2,15 @@ return {
|
|||||||
-- better vim.notify
|
-- better vim.notify
|
||||||
{
|
{
|
||||||
"rcarriga/nvim-notify",
|
"rcarriga/nvim-notify",
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>nc",
|
||||||
|
function()
|
||||||
|
require("notify").dismiss({ silent = true, pending = true })
|
||||||
|
end,
|
||||||
|
desc = "Clear all Notifications",
|
||||||
|
},
|
||||||
|
},
|
||||||
config = {
|
config = {
|
||||||
timeout = 3000,
|
timeout = 3000,
|
||||||
max_height = function()
|
max_height = function()
|
||||||
|
Reference in New Issue
Block a user