Skip to content

Kitty splits the wrong window inside tab when using split commands #10

@Jose05Code

Description

@Jose05Code

Description

When splitting windows in kitty using my dotfiles configuration, the split always occurs in the bottom window—regardless of which window is focused. For example:

Initial state (1 tab, 1 window):

----------------------
|                    |
|                    |
----------------------

After first split (vertical or horizontal):

----------------------
|                    |
----------------------
|                    |
----------------------

If I try to split the top window (with focus there), the bottom window is split instead:

----------------------
|                    |
----------------------
|         |          |
----------------------

If I repeat (again trying to split the top window), only the bottom window continues to split:

----------------------
|                    |
----------------------
|      |      |      |
----------------------

At no point does the top window receive new splits, no matter where my focus is.

Steps to Reproduce

  1. Open kitty
  2. In a tab, split the window (e.g., horizontal split)
  3. Focus on the top window
  4. Attempt to split the top window again
  5. Observe that splits always occur on the bottom window instead

Expected behavior

A new window split should occur in the currently focused window (such as the top window).

Actual behavior

The new split always appears in the bottom window, regardless of focus.

Next steps

  • Investigate kitty window-related configuration in dotfiles
  • Check if any keybindings or options are causing the unexpected window split behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions