Skip to content
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

Test: Run recent command contiguous search and other improvements #156002

Closed
3 tasks done
Tyriar opened this issue Jul 22, 2022 · 0 comments
Closed
3 tasks done

Test: Run recent command contiguous search and other improvements #156002

Tyriar opened this issue Jul 22, 2022 · 0 comments

Comments

@Tyriar
Copy link
Member

Tyriar commented Jul 22, 2022

Refs: #154016

Complexity: 3

Authors: @Tyriar, @meganrogge

Create Issue


We made some tweaks to the run recent command quick pick to bring the experience closer to regular reverse search in shells. Please test the features called out in https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_70.md#run-recent-command-as-a-replacement-for-reverse-search

Try adding and using these keybindings:

{
    "key": "ctrl+r",
    "command": "workbench.action.terminal.runRecentCommand",
    "when": "terminalFocus"
},
// Allow ctrl+r again to go to the next command in the quick pick
{
  "key": "ctrl+r",
  "command": "workbench.action.quickOpenNavigateNextInViewPicker",
  "when": "inQuickOpen && inTerminalRunCommandPicker"
},
// Fallback to the shell's native ctrl+r
{
  "key": "ctrl+alt+r",
  "command": "workbench.action.terminal.sendSequence",
  "args": { "text": "\u0012"/*^R*/ },
  "when": "terminalFocus"
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants