Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open file in adjacent pane #95

Open
tonatiuh opened this issue Mar 8, 2016 · 7 comments
Open

Open file in adjacent pane #95

tonatiuh opened this issue Mar 8, 2016 · 7 comments

Comments

@tonatiuh
Copy link

tonatiuh commented Mar 8, 2016

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
Copy link
Owner

Osmose commented Mar 8, 2016

A keybinding such as...? :P

@tonatiuh
Copy link
Author

tonatiuh commented Mar 8, 2016

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

@Osmose
Copy link
Owner

Osmose commented Mar 8, 2016

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:

  • Open File in Pane Above
  • Open File in Pane Below
  • Open File in Pane to the Left
  • Open File in Pane to the Right

Is that correct?

@tonatiuh
Copy link
Author

tonatiuh commented Mar 8, 2016

Yes, that's correct.

@ericdill
Copy link

ericdill commented Mar 8, 2016

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
Copy link
Owner

Osmose commented Mar 8, 2016

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
Copy link

ericdill commented Mar 8, 2016

Don't those create new panes though?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants