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

Opening fern in a float #271

Open
bryanforbes opened this issue Dec 2, 2020 · 5 comments
Open

Opening fern in a float #271

bryanforbes opened this issue Dec 2, 2020 · 5 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@bryanforbes
Copy link

Several plugins are adding the ability to open them in a float (nvim) or popup (vim). For instance, coc-explorer, fzf, and defx all have this ability. It would be really nice to have this behavior in fern.

@lambdalisue
Copy link
Owner

I don't think it's useful enough to introduce extra complexities while Vim and Neovim uses different strategy to produce float window. Do you have any real usage example which would drastically make it useful?

@lambdalisue lambdalisue added enhancement New feature or request wontfix This will not be worked on labels Dec 21, 2020
@poetaman
Copy link

poetaman commented Mar 17, 2021

@lambdalisue I was about to file an enhancement request for this. Here's the use-case: using fern -drawer I wanted to open a drawer that doesn't resize the existing splits, but appears as an overlay on the left side of screen. Then one could combine it with vim-startify page (there is a option to specify padding on the left in vim-startify) to create a more traditional looking "project page". Rest of the functionality need not be floating, just a drawer to the left (such that when it opens it doesn't push contents of startify page to left). I think not having other text move away from its position leads to a less distracting UI when one uses smart keybindings to knit the functionality of a wonderful file browser like Fern (its way faster than NERDtree with devicons, etc), and a wonderful project launch page like vim-startify.

@lambdalisue
Copy link
Owner

Well, float window in Vim and Neovim is quite different and I'm not going to put Vim only or Neovim only feature thus I still don't think what you explained is enough to introduce such extra complexities...

@zfogg
Copy link

zfogg commented Feb 16, 2022

+1

@brandon1024
Copy link
Contributor

I tend to agree with @lambdalisue, this would add a fair bit of complexity and I don't see much benefit. Adding new features for the sake of adding new features isn't the right mindset we should have. And since popups aren't well supported in Neovim, a good chunk of users wouldn't get such a feature anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

5 participants