SublimeText / Origami

Split the window however you like! Create new panes, delete panes, move and clone views from pane to pane.
MIT License
1.21k stars 82 forks source link

"Focus file on pane" and "Focus or clone file on pane" commands added #138

Open clperez opened 6 years ago

clperez commented 6 years ago

Hi:

I added this commands because I usually work with two panes, and I configure my navigation commands to show the results on the inactive pane, (in a way that I alternate panes frequently). I make extensive use of "chain of command" and I missed a command to open a file "if not already opened".

Take a look if you can, and let me know if you thing something needs reviewing. One of the things I wasn't completely sure about were the key bindings. Maybe the new commands shouldn't have default key bindings.

adzenith commented 5 years ago

How do you feel about just updating 'clone' so that it focuses the file in the other pane if it already exists there, instead of making a new clone? Something like #144.