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
{{ message }}
Repository navigation
preserve window proportions does not apply to vertical splits #2113
*nvim-tree.view.preserve_window_proportions*
Preserves window proportions when opening a file.
If `false`, the height and width of windows other than nvim-tree will be equalized.
Type: `boolean`, Default: `false`
The documentation notes that this applies when opening files (from the tree).
Activity
alex-courtis commentedon Apr 9, 2023
The documentation notes that this applies when opening files (from the tree).
alex-courtis commentedon Apr 9, 2023
A little debugging indicates that resizing is not done when opening the tree when
preserve_window_proportionsnot set.It's vim that's doing the resizing, not nvim-tree. You can demonstrate this by opening another vertical split inside a narrow window.
Take a look at
:help wiwand:h wmwto adjust this behaviour.