How can I "send sequence" or send arbitrary commands to the terminal (keybinding)
Answered
I'm looking for a way to setup something similar to vscode's sendSequence:
{
"key": "cmd+d",
"command": "workbench.action.terminal.sendSequence",
"when": "terminalFocus",
"args": { "text": "\u0004" }
}
basically, I'm trying to remap "cmd+d" to "^D".
Please sign in to leave a comment.
There is no such feature at the moment. Related request: https://youtrack.jetbrains.com/issue/IDEA-241798.
Serge Baranov, I think you misunderstood `^D` isn't a command it's a single keystroke. As I understand it that feature request is for sending whole scripts to the terminal. While there is overlap, I fear the linked feature would attempt to execute each string set as a shortcut while, my feature request is related to ending an arbitrary byte that can't easily be represented by text to the terminal.
I recommend submitting a feature request for that. I specifically mentioned that it's related, not a duplicate.