You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I turned create_new_pane_if_necessary on and expected now that when I execute copy_file_to_pane that it will create a new pane if it doesn't exist - but it doesn't.
On the other hand, if I move to a direction where there is no pane, it will create one which I didn't expect.
I think moving should be excluded from auto-creating new panes and stuff like copy_file_to_pane should be included. In general, I think it would be a lot better if we could specify a flag like create to each keybinding which will then create a pane if it doesn't exist if set to true.
Also not sure if this is the right place to ask, but I tried to execute 2 origami commands behind each other to implement a create_and_clone action:
You can pass create_new_if_necessary to commands individually (i.e. add it to your keybindings like you describe). Let me know if you can't get it working.
Your create_and_clone should work fine. What context are you running those commands in? From the console?
Found this PR here - #90
I turned
create_new_pane_if_necessary
on and expected now that when I executecopy_file_to_pane
that it will create a new pane if it doesn't exist - but it doesn't.On the other hand, if I move to a direction where there is no pane, it will create one which I didn't expect.
I think moving should be excluded from auto-creating new panes and stuff like
copy_file_to_pane
should be included. In general, I think it would be a lot better if we could specify a flag likecreate
to each keybinding which will then create a pane if it doesn't exist if set to true.Also not sure if this is the right place to ask, but I tried to execute 2 origami commands behind each other to implement a
create_and_clone
action:But it just creates the pane and doesn't copy the file in it. I tried adding a timeout in there but that didn't seem to have worked either. Any ideas?
The text was updated successfully, but these errors were encountered: