You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
F1 and keybinding customization doesn't work in the integrated terminal #7269
bugIssue identified by VS Code Team member as probable bugterminalGeneral terminal issues that don't fall under another labelverifiedVerification succeeded
I used to use CTRL + SHIFT + P, but then I changed over to F1 when I heard other folks using it. Honestly I love the natural feel of having both options. I use them both at various times.
I originally didn't understand why you would expect F1 to do this in the "new terminal", but by "new terminal", I assumed you meat the a CMD prompt window, such as displayed by pressing Ctrl+Alt+C under version 1.2.1. I now understand you were referring to the "integrated terminal" displayed with Ctrl+` (Ctrl+BackTick)
The problem here is knowing which key sequences vscode should capture and which should be passed to the terminal. If vscode consumes F1 then any terminal applications that rely on this will no longer work. Going to leave this one for now unless many people report as there is always the workaround of closing the terminal or using the other keybindings.
I'm a F1 person. Not having F1 is particularly weird for cases like when you want to use the command palette to create a new terminal or navigate between them.
Putting my comment on #8312 here on the potential way forward:
I think the eventual solution to this is being able to tell the terminal which keystrokes to not pass to the terminal, it could be a bit tricky to do though.
changed the title [-]F1 Keyboard Shortcut doesn't work in new Terminal[/-][+]F1 and keybinding customization doesn't work in the integrated terminal[/+]on Jul 10, 2016
I just pushed a change that resolves this that will be available for testing in Insiders tomorrow. It exposes the terminal.integrated.commandsToSkipShell setting which is a list of command IDs that will not be handled by the terminal, allowing them to bubble up to be handled by the VS Code keybinding system. This is the default value:
bugIssue identified by VS Code Team member as probable bugterminalGeneral terminal issues that don't fall under another labelverifiedVerification succeeded
Activity
Tyriar commentedon Jun 6, 2016
Huh, didn't even notice this because I use ctrl+shift+p for the command palette. Thanks for the report Trevor Sullivan (@pcgeek86)
pcgeek86 commentedon Jun 6, 2016
Of course, thanks for looking into it Daniel Imms (@Tyriar)!! 😄
I used to use CTRL + SHIFT + P, but then I changed over to F1 when I heard other folks using it. Honestly I love the natural feel of having both options. I use them both at various times.
BurtHarris commentedon Jun 20, 2016
I originally didn't understand why you would expect F1 to do this in the "new terminal", but by "new terminal", I assumed you meat the a CMD prompt window, such as displayed by pressing Ctrl+Alt+C under version 1.2.1. I now understand you were referring to the "integrated terminal" displayed with Ctrl+` (Ctrl+BackTick)
Tyriar commentedon Jun 21, 2016
The problem here is knowing which key sequences vscode should capture and which should be passed to the terminal. If vscode consumes F1 then any terminal applications that rely on this will no longer work. Going to leave this one for now unless many people report as there is always the workaround of closing the terminal or using the other keybindings.
BurtHarris commentedon Jun 22, 2016
Agreed, I believe this is then not a bug but by design.
kieferrm commentedon Jun 28, 2016
I'm a F1 person. Not having F1 is particularly weird for cases like when you want to use the command palette to create a new terminal or navigate between them.
Tyriar commentedon Jun 28, 2016
Putting my comment on #8312 here on the potential way forward:
Tyriar commentedon Jul 5, 2016
Upstream issue xtermjs/xterm.js#152
[-]F1 Keyboard Shortcut doesn't work in new Terminal[/-][+]F1 and keybinding customization doesn't work in the integrated terminal[/+]Tyriar commentedon Aug 8, 2016
I just pushed a change that resolves this that will be available for testing in Insiders tomorrow. It exposes the
terminal.integrated.commandsToSkipShellsetting which is a list of command IDs that will not be handled by the terminal, allowing them to bubble up to be handled by the VS Code keybinding system. This is the default value:Improve commandsToSkipShell wording
Support a list of commands to skip handling by shell