summaryrefslogtreecommitdiff
path: root/lua/config/99-nvim-tree-config.lua
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2026-10-18 23:07:57 -0600
committerJosh Rahm <joshuarahm@gmail.com>2026-10-18 23:07:57 -0600
commitd311167f64115203d5294105f07412cee6e51087 (patch)
tree61d3fa84561e91f1ee58b05583da3da056404fb9 /lua/config/99-nvim-tree-config.lua
parent457674c5b25b9f4be84f0f0ddf0cea7c1811174a (diff)
downloadconfig.vim-main.tar.gz
config.vim-main.tar.bz2
config.vim-main.zip
Add nvim tree.HEADmain
Diffstat (limited to 'lua/config/99-nvim-tree-config.lua')
-rw-r--r--lua/config/99-nvim-tree-config.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/config/99-nvim-tree-config.lua b/lua/config/99-nvim-tree-config.lua
new file mode 100644
index 0000000..2f4a048
--- /dev/null
+++ b/lua/config/99-nvim-tree-config.lua
@@ -0,0 +1,10 @@
+-- nvim-tree configuration
+-- Preserve the original behavior: don't automatically open the tree when
+-- editing a directory. Use <leader>nt to toggle it via your mappings file.
+require('nvim-tree').setup({
+ hijack_directories = {
+ enable = true,
+ auto_open = false,
+ },
+})
+