aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/kickstart/plugins/neo-tree.lua
diff options
context:
space:
mode:
authorNicholas Moore <nicholasvmoore@gmail.com>2025-05-12 08:27:38 -0500
committerNicholas Moore <nicholasvmoore@gmail.com>2025-05-12 08:27:38 -0500
commit45f088bb6c322ec6b9cfe2b07ff3230b20114280 (patch)
tree8598ace2bc5be1804f4dfa23948042c68c468fd7 /nvim/lua/kickstart/plugins/neo-tree.lua
parent1da58d020597860148b672ce3706624dd548772e (diff)
Adding my initial dotfiles
Diffstat (limited to 'nvim/lua/kickstart/plugins/neo-tree.lua')
-rw-r--r--nvim/lua/kickstart/plugins/neo-tree.lua25
1 files changed, 25 insertions, 0 deletions
diff --git a/nvim/lua/kickstart/plugins/neo-tree.lua b/nvim/lua/kickstart/plugins/neo-tree.lua
new file mode 100644
index 0000000..bd44226
--- /dev/null
+++ b/nvim/lua/kickstart/plugins/neo-tree.lua
@@ -0,0 +1,25 @@
+-- Neo-tree is a Neovim plugin to browse the file system
+-- https://github.com/nvim-neo-tree/neo-tree.nvim
+
+return {
+ 'nvim-neo-tree/neo-tree.nvim',
+ version = '*',
+ dependencies = {
+ 'nvim-lua/plenary.nvim',
+ 'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
+ 'MunifTanjim/nui.nvim',
+ },
+ cmd = 'Neotree',
+ keys = {
+ { '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal', silent = true },
+ },
+ opts = {
+ filesystem = {
+ window = {
+ mappings = {
+ ['\\'] = 'close_window',
+ },
+ },
+ },
+ },
+}