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

Move Editor into Group #14232

Open
1 task done
stolinski opened this issue Jul 11, 2024 · 4 comments
Open
1 task done

Move Editor into Group #14232

stolinski opened this issue Jul 11, 2024 · 4 comments
Labels
enhancement [core label] navigation Feedback for workspace navigation, breadcrumbs, definitions, files, panels, etc tabs Feedback for tabs behavior, navigation, style, etc workspace Feedback for workspace management, layout, interactions, etc

Comments

@stolinski
Copy link

stolinski commented Jul 11, 2024

Check for existing issues

  • Completed

Describe the feature

VSCode has a handfull of shortcuts for move a tab into another pane without keeping the same file open twice. Right now running split will open the same file in two panes, but it's very handy to move the current file into a new pane without keeping two copies of it open. I've attached a gif showing how VSCode does it with Move Editor Into Next Group as well as a list of their shortcuts. This is something I use 100 times a day.

If applicable, add mockups / screenshots to help present your vision of the feature

Screenshot 2024-07-11 at 11 43 21 AM

Screen Recording 2024-07-11 at 11 39 33 AM

@stolinski stolinski added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Jul 11, 2024
@ovidius72
Copy link

Please consider this is a common use case for vim users. In vim splitting a pane will always crate a copy of the current "buffer" to the right. This is useful when you need to compare portion of the same files, look around for some references while keep working on the same file.
If someone plan to adopt this requests, please allow an option to preserve the default behavior.

@stolinski
Copy link
Author

@ovidius72 I'm not asking for split to change, I'm asking for the addition of a "move to group"

@notpeter notpeter added workspace Feedback for workspace management, layout, interactions, etc tabs Feedback for tabs behavior, navigation, style, etc navigation Feedback for workspace navigation, breadcrumbs, definitions, files, panels, etc and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Jul 13, 2024
@ovidius72
Copy link

@stolinski sorry I misunderstood this sentence

Right now running split will open the same file in two panes, but it's very handy to move the current file into a new pane without keeping two copies of it open

Anyway, either ways are fine as long as we keep an option to let the user decide the default behavior.

@lfelipessilva
Copy link

This command not just allows to open the files in split panes, but also to move the current file to other panes. I think this is quite handful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement [core label] navigation Feedback for workspace navigation, breadcrumbs, definitions, files, panels, etc tabs Feedback for tabs behavior, navigation, style, etc workspace Feedback for workspace management, layout, interactions, etc
Projects
None yet
Development

No branches or pull requests

4 participants