From da84f6093c131dfcd078a073695b5074e76f5af7 Mon Sep 17 00:00:00 2001 From: Edward Litherland-Smith Date: Thu, 15 Sep 2022 10:08:51 +0100 Subject: [PATCH] Add notify support and map to Telescope --- init.lua | 4 ++++ init.vim | 1 + 2 files changed, 5 insertions(+) diff --git a/init.lua b/init.lua index abaaac13..79aba983 100644 --- a/init.lua +++ b/init.lua @@ -30,6 +30,10 @@ vim.api.nvim_set_keymap("n", ",g", "lua _lazygit_toggle()", {noremap = -- aerial telescope integration require('telescope').load_extension('aerial') +require('telescope').load_extension('notify') + +-- Set nvim-notify as default for notifications +vim.notify = require("notify") -- SnipRun config require('sniprun').setup{ diff --git a/init.vim b/init.vim index af1b072b..c54385e6 100644 --- a/init.vim +++ b/init.vim @@ -98,6 +98,7 @@ nnoremap fh Telescope help_tags nnoremap fk Telescope aerial nnoremap fd Telescope lsp_document_symbols nnoremap fe Telescope diagnostics +nnoremap fn Telescope notify set splitbelow set splitright