When the new pane is created, the cursor ends up there as well. This is why the carry command does not work. I'm not sure when this feature broke or if it behaves differently in ST4 than it did in ST3.
Since the newly created pane becomes active, the file can be pulled from the opposite direction instead.
It can be tested without a code change by adding this keybind:
Resolves https://github.com/SublimeText/Origami/issues/161
When the new pane is created, the cursor ends up there as well. This is why the carry command does not work. I'm not sure when this feature broke or if it behaves differently in ST4 than it did in ST3.
Since the newly created pane becomes active, the file can be pulled from the opposite direction instead.
It can be tested without a code change by adding this keybind:
I also tested it locally by uninstalling the package, using my own branch and then using the original keybind to
create_pane_with_file
.