From 14a69223ed780c92bca94939aa069cd852069bd6 Mon Sep 17 00:00:00 2001 From: Andy Teijelo Date: Fri, 8 Nov 2024 17:02:52 -0500 Subject: [PATCH] remove Esc to close notifications --- lua/config/keymaps.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/config/keymaps.lua b/lua/config/keymaps.lua index 610a240..9917c59 100644 --- a/lua/config/keymaps.lua +++ b/lua/config/keymaps.lua @@ -121,8 +121,8 @@ keymap("n", "", "DapStepOut") vim.keymap.set("n", "K", require("noice.lsp").hover, { noremap = true, silent = true }) -local function dismiss_notifications() - require("notify").dismiss({ silent = true, pending = true }) - vim.cmd("noh") -end -vim.keymap.set("n", "", dismiss_notifications, { desc = "Dismiss notifications" }) +-- local function dismiss_notifications() +-- require("notify").dismiss({ silent = true, pending = true }) +-- vim.cmd("noh") +-- end +-- vim.keymap.set("n", "", dismiss_notifications, { desc = "Dismiss notifications" })