Osmose / advanced-open-file

Open files and folders in Atom easily.
https://atom.io/packages/advanced-open-file
Other
118 stars 20 forks source link

Open file in adjacent pane #95

Open tonatiuh opened 8 years ago

tonatiuh commented 8 years ago

It would be nice if you could open the selected file in an adjacent pane, currently I see you can only open it in the current pane. A keybinding such as <ctrl+v>

Osmose commented 8 years ago

A keybinding such as...? :P

tonatiuh commented 8 years ago

Such as <ctrl+v>. Sorry, github hid it the first time.

Osmose commented 8 years ago

Provided that finding the adjacent pane is an easy thing to do, I don't see why we shouldn't have these. If I'm understanding you correctly, you're asking for a set of shortcuts like this:

Is that correct?

tonatiuh commented 8 years ago

Yes, that's correct.

ericdill commented 8 years ago

There are keybindings that already do this. If you have advanced-open-file open, the following keybindings will do what you are asking

'.platform-win32 .tree-view, .platform-linux .tree-view':
  'ctrl-k right': 'tree-view:open-selected-entry-right'
  'ctrl-k left': 'tree-view:open-selected-entry-left'
  'ctrl-k down': 'tree-view:open-selected-entry-down'
  'ctrl-k up': 'tree-view:open-selected-entry-up'
Osmose commented 8 years ago

Don't those create new panes though? I was thinking that this was more about opening in existing panes and those ones were about splitting to a brand-new pane.

ericdill commented 8 years ago

Don't those create new panes though?

Yes. I misunderstood the request. Sorry for the noise!