mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-31 16:37:45 +02: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
|
silent = true
|
||||||
})
|
})
|
||||||
|
|
||||||
-- SmiteshP/nvim-navbuddy
|
-- stevearc/aerial.nvim
|
||||||
vim.keymap.set('n', '<F3>', ':Navbuddy<CR>', {})
|
vim.keymap.set('n', '<F3>', ':AerialToggle!<CR>', {})
|
||||||
|
|
||||||
-- nvim-tree/nvim-tree.lua
|
-- nvim-tree/nvim-tree.lua
|
||||||
vim.keymap.set('n', '<F2>', ':NvimTreeToggle toggle<CR>', {})
|
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
|
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()
|
config = function()
|
||||||
require("mason-lspconfig").setup({
|
require("mason-lspconfig").setup({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user