Origami icon indicating copy to clipboard operation
Origami copied to clipboard

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

Open alshain opened this issue 6 years ago • 2 comments

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 avatar Nov 03 '18 13:11 alshain

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

adzenith avatar Nov 21 '18 15:11 adzenith

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

Agreed!

proxseas avatar Nov 30 '23 21:11 proxseas