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

Pane navigation hotkeys not fully functional #7030

Closed
Thulium-Drake opened this issue Aug 22, 2022 · 0 comments
Closed

Pane navigation hotkeys not fully functional #7030

Thulium-Drake opened this issue Aug 22, 2022 · 0 comments

Comments

@Thulium-Drake
Copy link

Thulium-Drake commented Aug 22, 2022

Describe the problem:
Navigating around different panes while using the nav-pane-<DIRECTION> hotkeys can lead to interesting results

To Reproduce:
Consider this layout:

| 1 | 2 |
|---|---|
| 3 | 4 |

When using the pane-nav-<DIRECTION> hotkeys, one would expect the following possible moves:

  1. 1-2
  2. 1-3
  3. 2-4
  4. 3-4
    And their opposites.

But if the layout was made as follows:

|   1   |
|       |
  1. Split vertical
| 1 | 2 |
|   |   |
  1. Split 1 horizontal
| 1 | 2 |
|---|   |
| 3 |   |
  1. Split 2 horizontal
| 1 | 2 |
|---|---|
| 3 | 4 |

The possible moves are:

  1. 1-2 and back
  2. 1-3 and back
  3. 2-4 and back
  4. 3-2
  5. 4-1

I think this has something to do with how the panes relate to each other:

  • 3 doesn't see 4 as it's neighbor, only 1 and 2
  • 4 doesn't see 3 as it's neighbor, only 1 and 2

NOTE: if you use a different layout, all this stuff changes!

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

No branches or pull requests

2 participants