fix(snacks): fix notification history keymap
Use snacks.notifier module directly to show notification history
This commit is contained in:
parent
231250d459
commit
fa67d671d3
|
|
@ -159,6 +159,8 @@ M.scratch_keymaps = {
|
||||||
opts = { desc = 'Toggle scratch buffer' } },
|
opts = { desc = 'Toggle scratch buffer' } },
|
||||||
{ mode = 'n', lhs = '<leader>S', rhs = function() require("snacks").scratch.select() end,
|
{ mode = 'n', lhs = '<leader>S', rhs = function() require("snacks").scratch.select() end,
|
||||||
opts = { desc = 'Select scratch buffer' } },
|
opts = { desc = 'Select scratch buffer' } },
|
||||||
|
{ mode = 'n', lhs = '<leader>nh', rhs = function() require("snacks.notifier").show_history() end,
|
||||||
|
opts = { desc = 'Show notification history' } },
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Git signs keymaps (all under <leader>g for Git)
|
-- Git signs keymaps (all under <leader>g for Git)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue