New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use ctrl-p in the integrated terminal in GNU/Linux #35722

Phrohdoh opened this Issue Oct 6, 2017 · 3 comments


None yet
2 participants
Copy link

Phrohdoh commented Oct 6, 2017

  • VSCode Version: Code 1.17.0 (be377c0, 2017-10-04T23:33:45.303Z)
  • OS Version: Linux x64 4.4.0-96-generic
  • Extensions:
Extension Author (truncated) Version
rust rus 0.3.1
vim vsc 0.10.1

Steps to Reproduce:

  1. Launch and give focus to the integrated terminal
  2. Hit ctrl-p

Expected behavior:

Previously executed command should be in the buffer ready to execute.

Note: This works as expected on macOS (presumably because cmd-p is used there for Go To File)

Actual behavior:

Go To File in command prompt opens

Reproduces without extensions: Yes

Would it be sane to not trigger Go To File if the terminal has focus?

I realize this is an edge-case and special casing things like this isn't desirable.

I don't want to suggest yet-another-setting because that becomes a nightmare to maintain and troubleshoot.


This comment has been minimized.

Copy link

Phrohdoh commented Oct 6, 2017

Bonus information that may or may not be helpful. This is the version of bash that I am running:

GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Ubuntu 16.04


This comment has been minimized.

Copy link

Tyriar commented Oct 6, 2017

ctrl+p is a special keybindings which is whitelisted in the integrated terminal so it skips the shell and goes to the vscode keybinding system. You can get around this by redefining terminal.integrated.commandsToSkipShell in your setting and remove "workbench.action.quickOpen" from the list.


This comment has been minimized.

Copy link

Phrohdoh commented Oct 6, 2017

Ah I see! Thank you for your speedy and informative response @Tyriar.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 20, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.