Replies: 2 comments
-
I found out the solution https://github.com/nvim-tree/nvim-tree.lua/wiki/Auto-Close#beauwilliams fix my 3rd clip, but still close neovim like 2nd clip when I hit |
Beta Was this translation helpful? Give feedback.
-
There is a lot going on here: it sounds like you have a lot of plugins and automation that could result in this behaviour. Suggestion: start with a Clean Room and add plugins / automation until you can reproduce the situation. |
Beta Was this translation helpful? Give feedback.
-
Using the default settings of nvim-tree, when I have a lot of opened files and I want to close a single file, nvim-tree closes the buffer and only the tree appears.
21C11003-2023-04-01_23.37.45.mp4
After I use the auto-close code reference in https://github.com/nvim-tree/nvim-tree.lua/wiki/Auto-Close#eliasa5, when I close the file, it closes my neovim instead of a single file.
a-2023-04-01_23.40.48.mp4
It also affects the packer.nvim when I press
:PackerSync
. The tree closes after I hit the command and pops up a bunch of error, which has a messageInvalid window id: 1002
.b-2023-04-01_23.48.20.mp4
Is this a normal behavior and I should accept that? Please help :(
Beta Was this translation helpful? Give feedback.
All reactions