mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
feat(notify): added keymap to dismiss all notifications
This commit is contained in:
parent
94e6f57955
commit
79bb9e17da
1 changed files with 9 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue