From 85865ba4293c042ca1d5dfdc2025c6e43b9f0f9d Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Mon, 4 Sep 2023 03:42:15 +0200 Subject: [PATCH] Add telescope keymap for notify --- lua/config/notify.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lua/config/notify.lua b/lua/config/notify.lua index 7d263b9..d158f77 100644 --- a/lua/config/notify.lua +++ b/lua/config/notify.lua @@ -16,5 +16,10 @@ -- https://github.com/rcarriga/nvim-notify +local telescope = require("telescope") + vim.notify = require("notify") -require("telescope").load_extension("notify") +telescope.load_extension("notify") +vim.keymap.set( + "n", "fn", function () telescope.extensions.notify.notify() end +)