Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix split resizing during zoom toggling #1308

Closed
wants to merge 1 commit into from

Conversation

ds2606
Copy link
Contributor

@ds2606 ds2606 commented Apr 12, 2022

Invoking NERDTree zooming with 'A' resizes the window to the full screen
width. However, on unzooming, vertical splits are left unequalized, with
one split generally occupying the remainder of the screen (leaving the
other splits with zero-width).

This commit automatically equalizes vertical splits upon un-zooming
NERDTree.

Description of Changes

Closes #1302


New Version Info

Author's Instructions

  • Derive a new MAJOR.MINOR.PATCH version number. Increment the:
    • MAJOR version when you make incompatible API changes
    • MINOR version when you add functionality in a backwards-compatible manner
    • PATCH version when you make backwards-compatible bug fixes
  • Update CHANGELOG.md, following the established pattern.

Collaborator's Instructions

  • Review CHANGELOG.md, suggesting a different version number if necessary.
  • After merging, tag the commit using these (Mac-compatible) bash commands:
    git checkout master
    git pull
    sed -n "$(grep -n -m2 '####' CHANGELOG.md | cut -f1 -d: | sed 'N;s/\n/,/')p" CHANGELOG.md | sed '$d'
    git tag -a $(read -p "Tag Name: " tag;echo $tag) -m"$(git show --quiet --pretty=%s)";git push origin --tags

Invoking NERDTree zooming with 'A' resizes the window to the full screen
width. However, on unzooming, vertical splits are left unequalized, with
one split generally occupying the remainder of the screen (leaving the
other splits with zero-width).

This commit automatically equalizes vertical splits upon un-zooming
NERDTree.
@rzvxa
Copy link
Member

rzvxa commented Jan 1, 2024

hey @ds2606, Thanks for the contribution, this code has been merged in #1395.

Have a great day!

@rzvxa rzvxa closed this Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants