aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/neo-tree.lua
diff options
context:
space:
mode:
authorawy <awy@awy.one>2024-10-31 03:52:58 +0300
committerawy <awy@awy.one>2024-10-31 03:52:58 +0300
commit7d20681455565e71fd3df5122955eb8f250e3431 (patch)
tree3d31cf0b7cc4fc6422b3fa5c19e961c70ef43df2 /.config/nvim/lua/plugins/neo-tree.lua
parent28175c030c60acfb9b24fd0a840ec673c442fe65 (diff)
nvim cfg
Diffstat (limited to '.config/nvim/lua/plugins/neo-tree.lua')
-rw-r--r--.config/nvim/lua/plugins/neo-tree.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/neo-tree.lua b/.config/nvim/lua/plugins/neo-tree.lua
new file mode 100644
index 0000000..65f280d
--- /dev/null
+++ b/.config/nvim/lua/plugins/neo-tree.lua
@@ -0,0 +1,12 @@
+return {
+ "nvim-neo-tree/neo-tree.nvim",
+ branch = "v3.x",
+ dependencies = {
+ "nvim-lua/plenary.nvim",
+ "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
+ "MunifTanjim/nui.nvim",
+ },
+ config = function()
+ vim.keymap.set('n', '<C-n>', ':Neotree filesystem reveal left<CR>', {})
+ end
+}