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

Invoke aliased commands from a command window. #8222

Closed
inputfalken opened this issue Nov 11, 2020 · 4 comments
Closed

Invoke aliased commands from a command window. #8222

inputfalken opened this issue Nov 11, 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

@inputfalken
Copy link

Description of the new feature/enhancement

A command window that could execute aliased commands. Similar to VSCode's Ctrl-P.

This would be useful for features in the terminal that you have trouble finding comfortable bindings for or features that you might not use so often.

For instance

{ "command": { "action": "splitPane", "split": "vertical", "splitMode": "duplicate" }, "keys": "alt+shift+d" }

Could look something like this.

{ "command": { "action": "splitPane", "split": "vertical", "splitMode": "duplicate" }, "keys": "alt+shift+d", "alias": "vsplit" }

And vsplit would be listed as a possible command to execute.

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

Thanks for the request! As it turns out, this is something we added a couple releases ago, the "Command Palette"

cmdpal-nested-command-polish

It'll auto-generate commands for each of the actions you already have bound, but you can also give them specific names. You were so close to guessing it correctly, that parameter is name, not alias.

Check out all the other command palette threads in #5400

/dup #2046

@ghost
Copy link

ghost commented Nov 11, 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 Nov 11, 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 Nov 11, 2020
@inputfalken
Copy link
Author

inputfalken commented Nov 11, 2020

Wow, thanks for the response. Cool that it already exists 😅

I tried to find if it already existed but I searched mainly for the term 'command window'. 🙈

@zadjii-msft
Copy link
Member

Don't sweat it, GitHub issue search is pretty bad in my experience 😄

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

2 participants