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

This adds split explorer capability to NERDTree #1237

Closed
wants to merge 6 commits into from

Conversation

tempoz
Copy link

@tempoz tempoz commented Apr 8, 2021

Description of Changes

This adds a g:NERDTreeSplexMode boolean setting that, when activated, causes NERDTree to act as split explorer-style file browser instead of a project drawer.

Motivation for Changes

I was looking for a way to browse my filesystem in vim and I came across NERDTree, which I love the look and feel of, but in my search I had also come across many articles extolling the virtues of split explorer-style browsers. Given my restricted monitor space and preference for more intuitive window-splitting, I decided to try to do both. I understand entirely if the project maintainers do not wish to support this feature, but since I'd gone to the trouble of developing it, I thought I'd offer it up.


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

@PhilRunninger
Copy link
Member

@tempoz This is a nice idea, but I'd rather see this done with a new command, instead of adding more settings. This will give the users the ability to more easily choose between the drawer style and the explorer style. Can you rework it with that in mind?

@tempoz
Copy link
Author

tempoz commented Apr 20, 2021

Sure! It may take me a little time to get the chance to work on it again, but I don't think it will be too difficult to swap from this style to a command style.

@rzvxa
Copy link
Member

rzvxa commented Dec 23, 2023

Hey @tempoz,

I'm going to close this PR since with #1389 we have a similar feature that essentially provides the same functionality which as a result makes this PR obsolete.
I really appreciate this great work; Even tho it didn't make it to the NERDTree codebase, The initial idea was really useful and I just want to thank you on behalf of everyone who uses this plugin and especially this new feature.

I wish you a lot of happiness wherever you are!

Have a great day!

@rzvxa rzvxa closed this Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants