Skip to content

Commit

Permalink
feat(notify): added keymap to dismiss all notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jan 2, 2023
1 parent 94e6f57 commit 79bb9e1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lua/lazyvim/plugins/ui.lua
Expand Up @@ -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()
Expand Down

0 comments on commit 79bb9e1

Please sign in to comment.