[PR #3585] [MERGED] Added default keybindings for panes #25441

Open
opened 2026-01-31 09:09:31 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/3585
Author: @cinnamon-msft
Created: 11/14/2019
Status: Merged
Merged: 11/19/2019
Merged by: @cinnamon-msft

Base: masterHead: cinnamon/default-pane-keybindings


📝 Commits (5)

  • 889b54f added default keybindings for panes
  • d65a604 fixed formatting and alphabetized
  • dc3fa35 up-to-date with master
  • 917dff8 tab fix
  • 4d9282a added back keybinding args for master keybindings

📊 Changes

1 file changed (+28 additions, -18 deletions)

View changed files

📝 src/cascadia/TerminalApp/defaults.json (+28 -18)

📄 Description

Summary of the Pull Request

Added the following keybindings for panes:

	{ "command": "splitHorizontal", "keys": [ "alt+shift+-" ] },
        { "command": "splitVertical", "keys": [ "alt+shift+plus" ] },
        { "command": { "action": "moveFocus", "direction":"down" }, "keys": [ "alt+down" ] },
        { "command": { "action": "moveFocus", "direction":"left" }, "keys": [ "alt+left" ] },
        { "command": { "action": "moveFocus", "direction":"right" }, "keys": [ "alt+right" ] },
        { "command": { "action": "moveFocus", "direction":"up" }, "keys": [ "alt+up" ] },
        { "command": { "action": "resizePane", "direction":"down" }, "keys": [ "alt+shift+down" ] },
        { "command": { "action": "resizePane", "direction":"left" }, "keys": [ "alt+shift+left" ] },
        { "command": { "action": "resizePane", "direction":"right" }, "keys": [ "alt+shift+right" ] },
        { "command": { "action": "resizePane", "direction":"up" }, "keys": [ "alt+shift+up" ] },

References

PR Checklist

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/3585 **Author:** [@cinnamon-msft](https://github.com/cinnamon-msft) **Created:** 11/14/2019 **Status:** ✅ Merged **Merged:** 11/19/2019 **Merged by:** [@cinnamon-msft](https://github.com/cinnamon-msft) **Base:** `master` ← **Head:** `cinnamon/default-pane-keybindings` --- ### 📝 Commits (5) - [`889b54f`](https://github.com/microsoft/terminal/commit/889b54f676890cd0074b628294b80e12fb472012) added default keybindings for panes - [`d65a604`](https://github.com/microsoft/terminal/commit/d65a60438e4e5475ec0b3a71b5c1f0f39b3db979) fixed formatting and alphabetized - [`dc3fa35`](https://github.com/microsoft/terminal/commit/dc3fa35527fa01ee25b149cbc950adf3480ec322) up-to-date with master - [`917dff8`](https://github.com/microsoft/terminal/commit/917dff8174d86230fc94c213da64f0c4072a3290) tab fix - [`4d9282a`](https://github.com/microsoft/terminal/commit/4d9282aa8ecd384bec60adec135a8527b96787a3) added back keybinding args for master keybindings ### 📊 Changes **1 file changed** (+28 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/defaults.json` (+28 -18) </details> ### 📄 Description <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Added the following keybindings for panes: ``` { "command": "splitHorizontal", "keys": [ "alt+shift+-" ] }, { "command": "splitVertical", "keys": [ "alt+shift+plus" ] }, { "command": { "action": "moveFocus", "direction":"down" }, "keys": [ "alt+down" ] }, { "command": { "action": "moveFocus", "direction":"left" }, "keys": [ "alt+left" ] }, { "command": { "action": "moveFocus", "direction":"right" }, "keys": [ "alt+right" ] }, { "command": { "action": "moveFocus", "direction":"up" }, "keys": [ "alt+up" ] }, { "command": { "action": "resizePane", "direction":"down" }, "keys": [ "alt+shift+down" ] }, { "command": { "action": "resizePane", "direction":"left" }, "keys": [ "alt+shift+left" ] }, { "command": { "action": "resizePane", "direction":"right" }, "keys": [ "alt+shift+right" ] }, { "command": { "action": "resizePane", "direction":"up" }, "keys": [ "alt+shift+up" ] }, ``` <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #3544 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Requires documentation to be updated * [x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:09:31 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#25441