Skip to content

Unexpected behavior with vim margin when open NerdTree in maximum terminal. #253

Open
@hungpham3112

Description

Steps to reproduce

  1. Download my vimrc config in here. I already have 1 installer command so you just need to paste in Powershell > 5.0. If something happens in installation time, press <Enter> and restart.
  2. Open vim in terminal, <space>e to open NerdTreeToggle
  3. This unexpected behavior appears in cmd.exe, powershell terminal, window powershell` in maximum size, in normal size it doesn't appear. The margin of vim seems unfit with maximum terminal. I tested my config with neovim but it only happens with vim.

cmd.exe:

bandicam.2022-03-30.10-18-35-041.mp4

window powershell:

bandicam.2022-03-30.10-20-04-523.mp4

Expected behaviour

Vim can fit with maximum terminal.

Version of Vim

8.2.4643. Latest vim-nightly using scoop.

Environment

Window 11(64 bits).

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions