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

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

Closed
topzdev opened this issue May 23, 2020 · 4 comments
Closed

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

topzdev opened this issue May 23, 2020 · 4 comments
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@topzdev
Copy link

topzdev commented 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!

@topzdev topzdev added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label May 23, 2020
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels May 23, 2020
@j4james
Copy link
Collaborator

j4james commented May 24, 2020

This would probably be covered by issue #3799 and/or #2046.

@DHowett
Copy link
Member

DHowett commented May 25, 2020

Yep, both of those cover this. One would run commands inside the terminal, and one would run terminal commands. /dup #3799 #2046.

This is also tied to #5970 (one action runs multiple actions)

@ghost
Copy link

ghost commented May 25, 2020

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost closed this as completed May 25, 2020
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels May 25, 2020
@DHowett
Copy link
Member

DHowett commented May 25, 2020

When 5970 lands, you'll be able to specify one action that runs multiple actions.

Mapping:

+----------+      +---------+       +---------+
|          +----->+         +<------+         |
| Command- |      | ACTIONS |       | Key     |
| line     +----->+         +<------+ Bidings |
| Args     |      |         |       |         |
|          +----->+         +<------+         |
+----------+      +---------+       +---------+

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

3 participants