kasecato / vscode-intellij-idea-keybindings

Port of IntelliJ IDEA key bindings for VS Code.
https://marketplace.visualstudio.com/items?itemName=k--kato.intellij-idea-keybindings
MIT License
817 stars 135 forks source link

Ctrl keys in terminal should pass to shell #250

Closed jkottler closed 1 year ago

jkottler commented 2 years ago

OS: MacOS

When the terminal window has focus, keys should be sent to the terminal / shell instead of being captured by the keymaps.

For example: pressing ctrl+r in the terminal should activate my command line history search, not begin the run action.

This defect has caused me to disable the extension, which I was very pleased to find until I discovered this.

hunterli commented 2 years ago

{ "key": "ctrl+r", "command": "workbench.action.terminal.sendSequence", "args": { "text": "\u0012" }, "when": "terminalFocus" },

kasecato commented 1 year ago

Let me add a ctrl+r trigger when !terminalFocus