-
Notifications
You must be signed in to change notification settings - Fork 264
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
If I toggle Neotree in a tab with a vertical split, the following happens:
- If I issue the toggle command in the left window, the Neotree window opens in on the left, leaving the right window size unchanged. If I then toggle the Neotree window closed, the cursor goes to the left window.
- If I issue the toggle command in the right window, the Neotree window opens in a vsplit on the left, leaving the right window size unchanged. If I then toggle the Neotree window closed, the cursor goes to the left window, instead of the right window (where the toggle command was initially issued).
I think the following behaviors (in fact, default behaviors of nvim-tree.lua) would be better:
- Adjust the size of both the windows on the left and on the right when a Neotree window is opened, so they retain their original proportions (windows of equal size remain equal in size with a Neotree window open)
- Return the cursor to the window where the toggle command is issued when a Neotree window closes, instead of always to the window on the left
If these behaviors are already available from the configurations, it would be best if someone can show me how.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request