Invoke aliased commands from a command window. #11335

Closed
opened 2026-01-31 02:44:51 +00:00 by claunia · 4 comments
Owner

Originally created by @inputfalken on GitHub (Nov 11, 2020).

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.

Originally created by @inputfalken on GitHub (Nov 11, 2020). # Description of the new feature/enhancement A command window that could execute aliased commands. Similar to VSCode's [`Ctrl-P`](https://code.visualstudio.com/docs/editor/editingevolved#_quick-file-navigation). 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.
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 02:44:51 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Nov 11, 2020):

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

@zadjii-msft commented on GitHub (Nov 11, 2020): Thanks for the request! As it turns out, this is something we added a couple releases ago, the "Command Palette" ![cmdpal-nested-command-polish](https://user-images.githubusercontent.com/18356694/98809223-cf27b880-23e2-11eb-8bbb-cf9a0c131b04.gif) 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
Author
Owner

@ghost commented on GitHub (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 commented on GitHub (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!
Author
Owner

@inputfalken commented on GitHub (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'. 🙈

@inputfalken commented on GitHub (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'. 🙈
Author
Owner

@zadjii-msft commented on GitHub (Nov 11, 2020):

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

@zadjii-msft commented on GitHub (Nov 11, 2020): Don't sweat it, GitHub issue search is pretty bad in my experience 😄
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11335