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

Allow key bindings to chain commands #6617

Closed
Tyriar opened this issue May 21, 2016 · 6 comments
Closed

Allow key bindings to chain commands #6617

Tyriar opened this issue May 21, 2016 · 6 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality keybindings VS Code keybinding issues
Milestone

Comments

@Tyriar
Copy link
Member

Tyriar commented May 21, 2016

Currently I think the only way to perform multiple commands in succession is to create an extension. It would be good if this was supported by keybindings.json.

See http://stackoverflow.com/q/37009184/1156119

@weinand weinand added the feature-request Request for new features or functionality label May 22, 2016
@alexdima alexdima added the keybindings VS Code keybinding issues label May 23, 2016
@Tyriar
Copy link
Member Author

Tyriar commented Nov 11, 2016

Suggested syntax, it also shows how useful/powerful it can be:

{
  "key": "ctrl+`",
  "command": [
    "workbench.action.toggleMaximizedPanel"
    "workbench.action.terminal.focus"
  ],
  "when": "!terminalFocus"
}

@alexdima alexdima added this to the Backlog milestone Nov 12, 2016
@alexdima alexdima removed their assignment Nov 12, 2016
@Tyriar
Copy link
Member Author

Tyriar commented Nov 22, 2016

https://marketplace.visualstudio.com/items?itemName=geddski.macros looks like a workaround for this for now.

@wclr
Copy link

wclr commented Apr 7, 2017

This would be useful to have outof the box.

@mjbvz mjbvz marked this as a duplicate of #31323 Jul 24, 2017
@usernamehw
Copy link
Contributor

@Tyriar, isn't this a duplicate of #871 ?

@Tyriar
Copy link
Member Author

Tyriar commented Jan 2, 2018

@usernamehw looks like it, thanks!

@Tyriar Tyriar added the *duplicate Issue identified as a duplicate of another issue(s) label Jan 2, 2018
@vscodebot
Copy link

vscodebot bot commented Jan 2, 2018

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Jan 2, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality keybindings VS Code keybinding issues
Projects
None yet
Development

No branches or pull requests

5 participants