I see your menu items and I raise you one a full set of commands:
{ "command": "create_pane", "args": {"direction": "up"}, "caption": "Origami: Create Pane Above" },
{ "command": "create_pane", "args": {"direction": "down"}, "caption": "Origami: Create Pane Below" },
{ "command": "create_pane", "args": {"direction": "right"}, "caption": "Origami: Create Pane Right" },
{ "command": "create_pane", "args": {"direction": "left"}, "caption": "Origami: Create Pane Left" },
{ "command": "travel_to_pane", "args": {"direction": "up"}, "caption": "Origami: Focus on Pane Above" },
{ "command": "travel_to_pane", "args": {"direction": "down"}, "caption": "Origami: Focus on Pane Below" },
{ "command": "travel_to_pane", "args": {"direction": "right"}, "caption": "Origami: Focus on Pane Right" },
{ "command": "travel_to_pane", "args": {"direction": "left"}, "caption": "Origami: Focus on Pane Left" },
{ "command": "destroy_pane", "args": {"direction": "up"}, "caption": "Origami: Destroy Pane Above" },
{ "command": "destroy_pane", "args": {"direction": "down"}, "caption": "Origami: Destroy Pane Below" },
{ "command": "destroy_pane", "args": {"direction": "right"}, "caption": "Origami: Destroy Pane Right" },
{ "command": "destroy_pane", "args": {"direction": "left"}, "caption": "Origami: Destroy Pane Left" },
{ "command": "carry_file_to_pane", "args": {"direction": "up"}, "caption": "Origami: Move File Above" },
{ "command": "carry_file_to_pane", "args": {"direction": "down"}, "caption": "Origami: Move File Below" },
{ "command": "carry_file_to_pane", "args": {"direction": "right"}, "caption": "Origami: Move File Right" },
{ "command": "carry_file_to_pane", "args": {"direction": "left"}, "caption": "Origami: Move File Left" },
{ "command": "clone_file_to_pane", "args": {"direction": "up"}, "caption": "Origami: Clone File Above" },
{ "command": "clone_file_to_pane", "args": {"direction": "down"}, "caption": "Origami: Clone File Below" },
{ "command": "clone_file_to_pane", "args": {"direction": "right"}, "caption": "Origami: Clone File Right" },
{ "command": "clone_file_to_pane", "args": {"direction": "left"}, "caption": "Origami: Clone File Left" }
]
Origami is a great plugin but I thought (correctly, as it turned out) that they keybindings were too convoluted for me to remember. I liked the idea of putting them in a menu, but I prefer leveraging ST2’s command palette where possible, hence the above.
I’ve been using this for a couple hours now and I find myself in a bit of a UX muddle. I have incorporated @nizur’s idea of above/below instead of @adzenith’s up/down (which made more sense when using the keybindings), although I do sometimes mix them up. For example, it may make more sense to say “move file up” while also saying “clone file above” (the first refers to the movement of the file, while the other refers to the position of the pane).
I think “move” is better than “carry” and most anything is better than “travel”, although my current “focus” doesn’t work very well with ST’s fuzzy search (because of the plethora of “file” commands).
Apologies if the above couple paragraphs made no sense. If you do use the commands, please let me/us/someone know if you have any suggestions on how to improve them.
Thanks,
Alex