Add keyboard shortcuts for running a commands in windows terminal #8522

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

Originally created by @topzdev on GitHub (May 23, 2020).

Description of the new feature/enhancement

Im tired of typing a long syntax to open a multiple split-pane in windows terminal for example:

in my daily dev i always type this long command "wt split-pane -p "Bash" -d . ; split-pane -p "Bash" -d . -V; split-pane -p "Postgres" -d . -V;" just to open windows termnial with 3 split pane. its pain in the ass to this method instead of this i propose to add a command line in keybindings so that its easy to lunch a windows terminal with a few clicks just click ctrl-shift-m to run that command line

Proposed technical implementation details (optional)

 "keybindings": [
{"commandLine": "wt split-pane  -p \"Bash\" -d . ; split-pane -p \"Bash\" -d . -V; split-pane -p \"Postgres\" -d  . -V;", "keys":"ctrl+shift+m"}
// other settings here...
]

Typing that key bindings it let run the command line to windows terminal and launch the thing you want to run. I hope this kind of feature added to the future updates. Thank you in advance microsoft dev! more coffee to come!

Originally created by @topzdev on GitHub (May 23, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> Im tired of typing a long syntax to open a multiple split-pane in windows terminal for example: in my daily dev i always type this long command "wt split-pane -p "Bash" -d . ; split-pane -p "Bash" -d . -V; split-pane -p "Postgres" -d . -V;" just to open windows termnial with 3 split pane. its pain in the ass to this method instead of this i propose to add a command line in keybindings so that its easy to lunch a windows terminal with a few clicks just click ctrl-shift-m to run that command line # Proposed technical implementation details (optional) ``` "keybindings": [ {"commandLine": "wt split-pane -p \"Bash\" -d . ; split-pane -p \"Bash\" -d . -V; split-pane -p \"Postgres\" -d . -V;", "keys":"ctrl+shift+m"} // other settings here... ] ``` <!-- A clear and concise description of what you want to happen. --> Typing that key bindings it let run the command line to windows terminal and launch the thing you want to run. I hope this kind of feature added to the future updates. Thank you in advance microsoft dev! more coffee to come!
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 01:31:37 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8522