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.
这个应该是GUI控制的,终端应该感知不到窗口大小变化吧……
可以在改变大小之后用vertical res重新改下大小