summaryrefslogtreecommitdiff
path: root/lua/plugins/neo-tree.lua
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-06-03 11:01:47 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-06-03 11:01:47 -0600
commit3d48fe1709852961dd06e5f1f5a849b217f4962d (patch)
tree433cf7d6ec2386034c72489fc8a87af3a21e7f74 /lua/plugins/neo-tree.lua
parentfbdfc3dfe274ba0365bf02a972878bbcf0b2bf5c (diff)
move lualine and the colorscheme out of init, add neo tree
Diffstat (limited to 'lua/plugins/neo-tree.lua')
-rw-r--r--lua/plugins/neo-tree.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/lua/plugins/neo-tree.lua b/lua/plugins/neo-tree.lua
new file mode 100644
index 0000000..16d69c8
--- /dev/null
+++ b/lua/plugins/neo-tree.lua
@@ -0,0 +1,19 @@
+return {
+ "nvim-neo-tree/neo-tree.nvim",
+ cmd = "Neotree",
+ version = "*",
+ keys = {
+ { "<leader>nt", "<CMD>Neotree toggle<CR>", desc = "Toggle [N]eo[t]ree" },
+ },
+ dependencies = {
+ "nvim-lua/plenary.nvim",
+ "MunifTanjim/nui.nvim",
+ "nvim-tree/nvim-web-devicons",
+ },
+ opts = {
+ filesystem = {
+ follow_current_file = true,
+ hijack_netrw_behavior = "open_current",
+ },
+ },
+}