search

Home  >  Q&A  >  body text

How does Vim automatically resize the NertTree window?

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.

大家讲道理大家讲道理2774 days ago680

reply all(1)I'll reply

  • 仅有的幸福

    仅有的幸福2017-05-16 16:36:39

    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

    reply
    0
  • Cancelreply