How to enable Ctrl+Shift+←/→ to select (highlight) previous or next word at the integrated terminal of VSCode?
Ctrl+←/→ in order to move the cursor by one word works perfectly, but Ctrl+Shift+←/→ outputs D's and C's.
I tried these to the keybindings.json (same for right):
{
"key": "ctrl+shift+left",
"command": "-cursorWordStartLeftSelect",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+left",
"command": "-workbench.action.terminal.resizePaneLeft",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+left",
"command": "cursorWordStartLeftSelect",
"when": "textInputFocus || terminalFocus"
},
and
{
"key": "ctrl+shift+left",
"command": "-workbench.action.terminal.resizePaneLeft",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+left",
"command": "cursorWordStartLeftSelect",
"when": "terminalFocus"
},
but didn't work. Any suggestions?
VSCode version: 1.40.2 x64
os: Ubuntu 19.10