Open stolinski opened 1 month ago
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.
@ovidius72 I'm not asking for split to change, I'm asking for the addition of a "move to group"
@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.
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
Check for existing issues
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