Skip to content

Conversation

riandrake
Copy link

NewFileSplitHorizontal and NewFileSplitVertical don't allow me to create new file splits in all 4 directions, so I've created 4 new actions that allow new splits to Left, Down, Up, and Right directions.

Haven't changed the behaviour of the existing actions because the direction of horizontal and vertical is user-configured.

This PR is for people like me who want to be able to create splits in 4 directions at will, I usually bind like so:

{
    "context": "Editor",
    "bindings": {
      "ctrl-s ctrl-h": "workspace::NewFileSplitLeft",
      "ctrl-s ctrl-j": "workspace::NewFileSplitDown",
      "ctrl-s ctrl-k": "workspace::NewFileSplitUp",
      "ctrl-s ctrl-l": "workspace::NewFileSplitRight"
    }
  }

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants