How can I have the integrated VSCode terminal not capture CTRL-E, CTRL-X, and CTRL-A?
Actual behavior: does what the keyboard shortcuts normally do outside of terminal
Expected behavior:
CTRL-X-E should open $EDITOR in the integrated terminal, like it does in Readline-based terminals
From the Command Palette I selected to view the JSON Keyboard Shortcuts, then entered this into the resulting file:
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+e",
"command": "ctrl+e",
"when": "terminalFocus"
},
]
This allows me to use CTRL+E in the terminal when I have the terminal in focus, rather than it being interpreted by VS Code.
modify vscode settings.json to avoid Ctrl + E conflict:
{
"terminal.integrated.commandsToSkipShell": [
"-workbench.action.quickOpen"
]
}
Find other command ID: Ctrl + K , Ctrl + S open "Keyboard Shortcuts", press Alt + K and then record the conflict key combination.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With