Add notify support and map to Telescope
This commit is contained in:
parent
1299d7b040
commit
da84f6093c
4
init.lua
4
init.lua
|
@ -30,6 +30,10 @@ vim.api.nvim_set_keymap("n", ",g", "<cmd>lua _lazygit_toggle()<CR>", {noremap =
|
||||||
|
|
||||||
-- aerial telescope integration
|
-- aerial telescope integration
|
||||||
require('telescope').load_extension('aerial')
|
require('telescope').load_extension('aerial')
|
||||||
|
require('telescope').load_extension('notify')
|
||||||
|
|
||||||
|
-- Set nvim-notify as default for notifications
|
||||||
|
vim.notify = require("notify")
|
||||||
|
|
||||||
-- SnipRun config
|
-- SnipRun config
|
||||||
require('sniprun').setup{
|
require('sniprun').setup{
|
||||||
|
|
1
init.vim
1
init.vim
|
@ -98,6 +98,7 @@ nnoremap <leader>fh <cmd>Telescope help_tags<cr>
|
||||||
nnoremap <leader>fk <cmd>Telescope aerial<cr>
|
nnoremap <leader>fk <cmd>Telescope aerial<cr>
|
||||||
nnoremap <leader>fd <cmd>Telescope lsp_document_symbols<cr>
|
nnoremap <leader>fd <cmd>Telescope lsp_document_symbols<cr>
|
||||||
nnoremap <leader>fe <cmd>Telescope diagnostics<cr>
|
nnoremap <leader>fe <cmd>Telescope diagnostics<cr>
|
||||||
|
nnoremap <leader>fn <cmd>Telescope notify<cr>
|
||||||
|
|
||||||
set splitbelow
|
set splitbelow
|
||||||
set splitright
|
set splitright
|
||||||
|
|
Loading…
Reference in a new issue