From 4e2bcc858b22e679bc7e8588f3560890354dd409 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 19 Sep 2023 19:50:48 -0500 Subject: [PATCH] refactor(nvim): use escape for notify dismiss & noh --- dots/.config/nvim/lua/plugins/configs/noice.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dots/.config/nvim/lua/plugins/configs/noice.lua b/dots/.config/nvim/lua/plugins/configs/noice.lua index c570da47..de52de20 100644 --- a/dots/.config/nvim/lua/plugins/configs/noice.lua +++ b/dots/.config/nvim/lua/plugins/configs/noice.lua @@ -48,8 +48,9 @@ return { "rcarriga/nvim-notify", keys = { { - "nd", + "", function() + vim.cmd.noh() require("notify").dismiss({ pending = true, silent = true,