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

Prevent duplicate tabs: Scroll file in other pane to same position if it's already open #144

Open
alshain opened this issue Nov 3, 2018 · 2 comments

Comments

@alshain
Copy link

alshain commented Nov 3, 2018

Question: Is there a way to make Origami reuse the view in the target pane, since it's already open? I don't need an additional view within the same pane.

Possible feature request: Make Origami reuse a tab if it already exists in the target pane, only scroll it to prevent duplicate tabs

My workflow:

I often work with two views into the same file side by side.

I then want to "mark" a position such that I can compare it with area in the same file.
To do this, I currently use Ctrl-K,Alt-Right (Origami: Clone File to Pane on the Right)
Then I navigate back to the pane I came from: Ctrl-K,Left

Now I have the position "marked" in the right-hand pane and can scroll to the area I want to compare in my main pane.

When I want to compare something again, I do Ctrl-K, Alt-Right again, now I have three views into my file, one in the primary (left) pane, two in the second pane.

@alshain alshain changed the title Prevent duplicate tabs: Scroll file in other tab to same position if it's already open Prevent duplicate tabs: Scroll file in other pane to same position if it's already open Nov 3, 2018
@adzenith
Copy link
Member

This should definitely be possible (and quite possibly the default).

@proxseas
Copy link

This should definitely be possible (and quite possibly the default).

Agreed!

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