Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commite96a02fbf2c811d2eb55d22c8d6f131b8a49934f (patch)
Author
 Syndamia <kamen@syndamia.com>
2024-08-05 14:30:25 +0300
Committer
 Syndamia <kamen@syndamia.com>
2024-08-05 14:30:25 +0300
Files265ab8143344c95f7718a9476bf48f90b782d9f9
anderson-e96a02fbf2c811d2eb55d22c8d6f131b8a49934f.tar
anderson-e96a02fbf2c811d2eb55d22c8d6f131b8a49934f.tar.gz
anderson-e96a02fbf2c811d2eb55d22c8d6f131b8a49934f.zip
Parentb36fbab879afb0931806b29d976efc3c69fb409d (diff)
feat(plugins): Added nerdtree
2 files changed, 15 insertions, 1 deletions
-rw-r--r--lazy-lock.json4
-rw-r--r--lua/plugins/default.lua12
diff --git a/lazy-lock.json b/lazy-lock.json
index f54168d..d62a9f6 100644
--- a/lazy-lock.json
+++ b/lazy-lock.json
@@ -2,7 +2,9 @@
"gruvbox": { "branch": "master", "commit": "f1ecde848f0cdba877acb0c740320568252cc482" },
"heirline.nvim": { "branch": "master", "commit": "0d797435e54645a5f98bad7ad6046aac1ef95c1e" },
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" },
+ "nerdtree": { "branch": "master", "commit": "9b465acb2745beb988eff3c1e4aa75f349738230" },
"nvim-lspconfig": { "branch": "master", "commit": "81a19de18990208b678be084597613e2dbe66912" },
"nvim-treesitter": { "branch": "master", "commit": "1aad04ecde5ebf8f2b3eea5c6f39d38b251757f5" },
- "nvim-web-devicons": { "branch": "master", "commit": "3722e3d1fb5fe1896a104eb489e8f8651260b520" }
+ "nvim-web-devicons": { "branch": "master", "commit": "3722e3d1fb5fe1896a104eb489e8f8651260b520" },
+ "vim-devicons": { "branch": "master", "commit": "71f239af28b7214eebb60d4ea5bd040291fb7e33" }
}
diff --git a/lua/plugins/default.lua b/lua/plugins/default.lua
index 742ef96..e883fab 100644
--- a/lua/plugins/default.lua
+++ b/lua/plugins/default.lua
@@ -26,4 +26,16 @@ return {
end,
},
{ "nvim-tree/nvim-web-devicons", },
+ {
+ "preservim/nerdtree",
+ dependencies = {
+ "ryanoasis/vim-devicons",
+ },
+ keys = {{ "<Tab>", ":NERDTreeToggle<CR>" }},
+ init = function()
+ vim.g.NERDTreeShowHidden = 1
+ vim.g.NERDTreeWinPos = "right"
+ vim.g.NERDTreeIgnore = { "\\.swp$", "\\~$" } -- Ignore file, ending with .swp and ~
+ end,
+ },
}