You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed the title [-]Prevent Nvim-tree window from becoming full-screen on deleting active buffer file[/-][+]Don't Close Window On fs.remove() When Last Buffer In Window[/+]on Aug 3, 2024
Activity
alex-courtis commentedon Aug 3, 2024
Discussions: NvChad/NvChad#2950
TL;DR: this is possible but will be tricky from a functional and technical perspective.
[-]Prevent Nvim-tree window from becoming full-screen on deleting active buffer file[/-][+]Don't Close Window On fs.remove() When Last Buffer In Window[/+]siduck commentedon Aug 3, 2024
cant we create an unnamed buf and place it in the window of the buffer which is getting deleted 🤔
alex-courtis commentedon Aug 3, 2024
That sounds sensible.
siduck commentedon Aug 3, 2024
so would this be added to nvimtree or the user has to add in his config? I tried with an autocmd
but this closes nvimtree window too, no idea why
alex-courtis commentedon Aug 3, 2024
This is something that should go into nvim-tree itself. It needs the internals of
remove-file.lua