Skip to content

"Set-PSReadlineOption -EditMode vi" breaks Ctrl+r / bck-i-search #2453

@davetapley

Description

@davetapley

Environment

PS version: 5.1.19041.906
PSReadline version: 2.0.1
os: 10.0.19041.1 (WinBuild.160101.0800)
PS file version: 10.0.19041.1 (WinBuild.160101.0800)
HostName: ConsoleHost
BufferWidth: 120
BufferHeight: 3000

Exception report

N/A

Steps to reproduce

  1. Run Set-PSReadlineOption -EditMode vi
  2. Press Ctrl + r
  3. Enter string occurring in previously entered command
  4. Press Ctrl + r a second time

Expected behavior

bck-i-search: appears and subsequent Ctrl + r scroll through earlier matches.

Actual behavior

find: appears and subsequent Ctrl + r do nothing

Example:

Windows.PowerShell.2021-05-13.11-09-55.mp4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions