nRF Terminal keybindings

nRF Connect for VS Code

tags
nRF Connect for VS Code

By default, many keybindings are skipped in the shell and are treated as Visual Studio Code's keybindings. This makes it impossible to use certain custom keybindings in the shell.

Using the terminal.integrated.commandsToSkipShell setting in Visual Studio Code's Settings editor, you can configure which command IDs are to be activated with Visual Studio Code keybindings and which are to be skipped in the shell. To override a default and pass a command's keybinding to the shell, add an item with the command ID prefixed with the - character.

For example, add -workbench.action.quickOpenView to allow Ctrl-Q to reach the shell. This can be useful for example if you are using the Modem Shell application from the nRF Connect SDK with the AT command mode and you want to use the custom, application-default keybinding of Ctrl-Q to exit the line mode.