Add notify support and map to Telescope

This commit is contained in:
Edward Litherland-Smith 2022-09-15 10:08:51 +01:00
parent 1299d7b040
commit da84f6093c
2 changed files with 5 additions and 0 deletions

View file

@ -30,6 +30,10 @@ vim.api.nvim_set_keymap("n", ",g", "<cmd>lua _lazygit_toggle()<CR>", {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{

View file

@ -98,6 +98,7 @@ nnoremap <leader>fh <cmd>Telescope help_tags<cr>
nnoremap <leader>fk <cmd>Telescope aerial<cr>
nnoremap <leader>fd <cmd>Telescope lsp_document_symbols<cr>
nnoremap <leader>fe <cmd>Telescope diagnostics<cr>
nnoremap <leader>fn <cmd>Telescope notify<cr>
set splitbelow
set splitright