refactor(nvim): use escape for notify dismiss & noh

This commit is contained in:
Price Hiller 2023-09-19 19:50:48 -05:00
parent 43e80f5aab
commit 4e2bcc858b
No known key found for this signature in database

View File

@ -48,8 +48,9 @@ return {
"rcarriga/nvim-notify", "rcarriga/nvim-notify",
keys = { keys = {
{ {
"<leader>nd", "<esc>",
function() function()
vim.cmd.noh()
require("notify").dismiss({ require("notify").dismiss({
pending = true, pending = true,
silent = true, silent = true,