neotree
This commit is contained in:
@ -44,6 +44,7 @@
|
|||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "828a538ac8419f586c010996aefa5df6eb7c250b" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "828a538ac8419f586c010996aefa5df6eb7c250b" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "5ad3e113b0c3fde3caba8630599373046f6197e8" },
|
"mason.nvim": { "branch": "main", "commit": "5ad3e113b0c3fde3caba8630599373046f6197e8" },
|
||||||
"mkdir.nvim": { "branch": "main", "commit": "c55d1dee4f099528a1853b28bb28caa802eba217" },
|
"mkdir.nvim": { "branch": "main", "commit": "c55d1dee4f099528a1853b28bb28caa802eba217" },
|
||||||
|
"neo-tree-diagnostics.nvim": { "branch": "main", "commit": "483019d251c31acd14102bc279f938f98d9a3de6" },
|
||||||
"neo-tree.nvim": { "branch": "v2.x", "commit": "80dc74d081823649809f78370fa5b204aa9a853a" },
|
"neo-tree.nvim": { "branch": "v2.x", "commit": "80dc74d081823649809f78370fa5b204aa9a853a" },
|
||||||
"neoscopes": { "branch": "main", "commit": "88ca15efcc20b267789d74ca483cc8bac85b3083" },
|
"neoscopes": { "branch": "main", "commit": "88ca15efcc20b267789d74ca483cc8bac85b3083" },
|
||||||
"nerdcommenter": { "branch": "master", "commit": "ab2ae4d502a26bc591db78a8548823ddd04bbc9c" },
|
"nerdcommenter": { "branch": "master", "commit": "ab2ae4d502a26bc591db78a8548823ddd04bbc9c" },
|
||||||
|
@ -1,22 +1,31 @@
|
|||||||
return {
|
return {
|
||||||
"nvim-neo-tree/neo-tree.nvim",
|
{
|
||||||
branch = "v2.x",
|
"nvim-neo-tree/neo-tree.nvim",
|
||||||
config = function()
|
branch = "v2.x",
|
||||||
require("neo-tree").setup({
|
config = function()
|
||||||
hijack_netrw_behavior = "open_current",
|
require("neo-tree").setup({
|
||||||
window = {
|
hijack_netrw_behavior = "open_current",
|
||||||
mappings = {
|
window = {
|
||||||
["O"] = "expand_all_nodes",
|
mappings = {
|
||||||
|
["O"] = "expand_all_nodes",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
})
|
||||||
})
|
end,
|
||||||
end,
|
dependencies = {
|
||||||
dependencies = {
|
"nvim-lua/plenary.nvim",
|
||||||
"nvim-lua/plenary.nvim",
|
"MunifTanjim/nui.nvim",
|
||||||
"MunifTanjim/nui.nvim",
|
},
|
||||||
|
lazy = false,
|
||||||
|
keys = {
|
||||||
|
{ "<C-n>", ":Neotree filesystem reveal toggle reveal_force_cwd<cr>", desc = "Open NeoTree" },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
lazy = false,
|
{
|
||||||
keys = {
|
"mrbjarksen/neo-tree-diagnostics.nvim",
|
||||||
{ "<C-n>", ":Neotree filesystem reveal toggle reveal_force_cwd<cr>", desc = "Open NeoTree" },
|
dependencies = { "nvim-neo-tree/neo-tree.nvim" },
|
||||||
|
keys = {
|
||||||
|
{ "<Leader>xd", "<Cmd>Neotree diagnostics reveal bottom<CR>" },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -16,11 +16,6 @@ return {
|
|||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
keys = {
|
keys = {
|
||||||
{ "<Leader>xx", "<Cmd>Trouble<CR>" },
|
|
||||||
{ "<Leader>xw", "<Cmd>Trouble workspace_diagnostics<CR>" },
|
|
||||||
{ "<Leader>xd", "<Cmd>Trouble document_diagnostics<CR>" },
|
|
||||||
{ "<Leader>xl", "<Cmd>Trouble loclist<CR>" },
|
|
||||||
{ "<Leader>xq", "<Cmd>Trouble quickfix<CR>" },
|
|
||||||
{ "[g", "<cmd>lua vim.diagnostic.goto_prev()<CR>" },
|
{ "[g", "<cmd>lua vim.diagnostic.goto_prev()<CR>" },
|
||||||
{ "]g", "<cmd>lua vim.diagnostic.goto_next()<CR>" },
|
{ "]g", "<cmd>lua vim.diagnostic.goto_next()<CR>" },
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user