From fa67d671d39bc52068d568a47d48382d9d61c6ee Mon Sep 17 00:00:00 2001 From: Adam Poniatowski Date: Sun, 23 Feb 2025 16:57:27 +0100 Subject: [PATCH] fix(snacks): fix notification history keymap Use snacks.notifier module directly to show notification history --- lua/core/keymaps.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/core/keymaps.lua b/lua/core/keymaps.lua index eeb1bfa3..0c3514d2 100644 --- a/lua/core/keymaps.lua +++ b/lua/core/keymaps.lua @@ -159,6 +159,8 @@ M.scratch_keymaps = { opts = { desc = 'Toggle scratch buffer' } }, { mode = 'n', lhs = 'S', rhs = function() require("snacks").scratch.select() end, opts = { desc = 'Select scratch buffer' } }, + { mode = 'n', lhs = 'nh', rhs = function() require("snacks.notifier").show_history() end, + opts = { desc = 'Show notification history' } }, } -- Git signs keymaps (all under g for Git)