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

Divide "Move to Other View" into two commands #1513

Yaron10 opened this Issue Feb 20, 2016 · 0 comments


None yet
1 participant

Yaron10 commented Feb 20, 2016

The command "Move to Other View" executes two related yet different actions:

  1. Toggle One View/Two Views (simplest case: two files are open).
  2. Move current file from one view to the other (simplest case: two files are open in the top (or left) view, and one file is open in the bottom view; - move current file from top to bottom).

I find three problems in the current behavior:

  1. It's confusing. Those two actions are indeed related but they are certainly different.
  2. When switching from "One View" to "Two Views", the current file gets the bottom view in some cases and the top view in others.
    This is not random but still annoying.
  3. If several files are open in both views (e.g. ten files at top and ten others at bottom), there isn't an easy way to switch to One View mode.

I suggest to divide the "Move to Other View" command into two commands:

  1. Toggle One View/Two Views.
    When switching from One View to Two Views, the current file always gets the top view and the tab next to it (needs some elaboration) gets the bottom view.
  2. "Move to Other View": if we're in Two Views mode, move current to the other view.
    (If only two files are open, switch the files' views).

Related: #1514 and #1515.

@Yaron10 Yaron10 changed the title from Divided "Move to Other View" into two commands to Divide "Move to Other View" into two commands Feb 21, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment