<!-- Before submitting your bug report, please check for duplicates, and +1 the duplicate if you find one, adding additional details if you have any to add. There are a few common issues that are commonly reported. If there is an exception copying to/from the clipboard, it's probably the same as https://github.com/lzybkr/PSReadLine/issues/265 If there is an exception shortly after resizing the console, it's probably the same as https://github.com/lzybkr/PSReadLine/issues/292 --> Environment data ---------------- Dev build from master 708787f8f51847a4ebd6a8a3dbe8ebdf1c24bc99 <!-- provide the output of the following: ```powershell & { "PS version: $($PSVersionTable.PSVersion)" $v = (Get-Module PSReadline).Version $m = Get-Content "$(Split-Path -Parent (Get-Module PSReadLine).Path)\PSReadLine.psd1" | Select-String "Prerelease = '(.*)'" if ($m) { $v = "$v-" + $m.Matches[0].Groups[1].Value } "PSReadline version: $v" if ($IsLinux -or $IsMacOS) { "os: $(uname -a)" } else { "os: $((dir $env:SystemRoot\System32\cmd.exe).VersionInfo.FileVersion)" } "PS file version: $((dir $pshome\p*[hl].exe).VersionInfo.FileVersion)" } ``` --> ``` PS version: 6.1.0-preview.2 PSReadline version: 2.0.0-beta1 os: Darwin Sergeis-MacBook.local 17.5.0 Darwin Kernel Version 17.5.0: Fri Apr 13 19:32:32 PDT 2018; root:xnu-4570.51.2~1/RELEASE_X86_64 x86_64 PS file version: ``` Steps to reproduce or exception report -------------------------------------- ``` pwsh -noprofile # ctrl+a works Set-PSReadLineOption -HistoryNoDuplicates -EditMode Windows # ctrl+a doesn't work ``` See demo 