Sometimes we need to change the size of the vim terminal to view web pages or other things. At this time, the size of the NerdTree cannot be moved and narrowed along with the main window. How to set it up so that it narrows following this movement.
Or how to dynamically obtain the size of the entire vim interface.
This should be controlled by GUI, and the terminal should not be able to detect changes in window size...
You can use vertical res to resize after changing the size