Skip to content

split_with_window_picker #314

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

Closed
nagy135 opened this issue Apr 21, 2022 · 1 comment
Closed

split_with_window_picker #314

nagy135 opened this issue Apr 21, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@nagy135
Copy link
Contributor

nagy135 commented Apr 21, 2022

Hello, I m curious if this feature would be possible (or is already?).

Basically w (default bind) allows us to select where the window opens, but if I want it to appear in split, I have to create split, then close neo-tree, open it again (because that way the last split that had focus is that new split ...or simply make sure that I get to neo-tree from that new split) and then use w to place new file there.

Those are many steps I do quite often. Is there a better way? I would even suggest to take approach that nvim-tree took, and basically defaulting to pick destination every time when destination is not 100% determined, when you have more than one split opened.

The same thing should apply to vsplit.

Subjective opinion:
I understand that it has some advantages to have this picker as a optional dependency, but imho this should be default because the way it "chooses" where to open is something I have to keep in mind every time I open split. I even made open_with_window_picker my default opener, because that does exactly what I m proposing here with splits.

@cseickel
Copy link
Contributor

I think it would actually be a simple change to create a "split from chosen window" command. I'll put it on the list. There's probably enough information in the wiki to build one in your config as well if you want to take a shot at it.

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

No branches or pull requests

2 participants