简体   繁体   中英

VS Code terminal history search, Windows, Powershell

since version 1.43 the ctrl+rr keyboard shortcut has stopped working for powershell history searches. Is there another way to search in recently used commands?

I can't reproduce your issue. But you could try this keybinding in the meantime:

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

That sends a Ctrl + R to the terminal. Focus can be anywhere. That should trigger the reverse search of previous terminal commands. Does it do that for you?

See related info: Make a keybinding to run previous or last shell commands

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM