mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-26 04:57:45 +01:00
nvim: swapped navbuddy for aerial
This commit is contained in:
parent
23b2e6cd6f
commit
e1bda0c7eb
@ -51,8 +51,8 @@ vim.keymap.set('n', 'j', "v:count == 0 ? 'gj' : 'j'",
|
||||
silent = true
|
||||
})
|
||||
|
||||
-- SmiteshP/nvim-navbuddy
|
||||
vim.keymap.set('n', '<F3>', ':Navbuddy<CR>', {})
|
||||
-- stevearc/aerial.nvim
|
||||
vim.keymap.set('n', '<F3>', ':AerialToggle!<CR>', {})
|
||||
|
||||
-- nvim-tree/nvim-tree.lua
|
||||
vim.keymap.set('n', '<F2>', ':NvimTreeToggle toggle<CR>', {})
|
||||
|
11
.config/nvim/lua/plugins/aerial.lua
Normal file
11
.config/nvim/lua/plugins/aerial.lua
Normal file
@ -0,0 +1,11 @@
|
||||
return {
|
||||
-- ctags like menu
|
||||
{
|
||||
'stevearc/aerial.nvim',
|
||||
opts = {},
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
"nvim-tree/nvim-web-devicons"
|
||||
},
|
||||
}
|
||||
}
|
@ -14,21 +14,6 @@ return {
|
||||
}
|
||||
end
|
||||
},
|
||||
-- navigation menu
|
||||
{
|
||||
'SmiteshP/nvim-navbuddy',
|
||||
config = function()
|
||||
local navbuddy = require("nvim-navbuddy")
|
||||
Attach_func = function(client, bufnr)
|
||||
navbuddy.attach(client, bufnr)
|
||||
end
|
||||
end,
|
||||
dependencies = {
|
||||
'neovim/nvim-lspconfig',
|
||||
'SmiteshP/nvim-navic',
|
||||
'MunifTanjim/nui.nvim'
|
||||
}
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
require("mason-lspconfig").setup({
|
||||
|
Loading…
x
Reference in New Issue
Block a user