PSReadLine icon indicating copy to clipboard operation
PSReadLine copied to clipboard

Can't remove or override keymap `ctrl+j`

Open sharpchen opened this issue 1 month ago • 0 comments

Prerequisites

  • [x] Write a descriptive title.
  • [x] Make sure you are able to repro it on the latest released version
  • [x] Search the existing issues, especially the pinned issues.

Exception report

`ctrl+j` always accepts line, I can't remove it or bind it to something else.

Screenshot

no sc

Environment data

PS Version: 7.5.4
PS HostName: ConsoleHost
PSReadLine Version: 2.3.6
PSReadLine EditMode: Vi
OS: Linux nixos 6.6.87.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun  5 18:30:46 UTC 2025 x86_64 GNU/Linux
BufferWidth: 160
BufferHeight: 43

Steps to reproduce

Remove-PSReadLineKeyHandler -Chord 'ctrl+j'

Expected behavior

able to remove/rebind

Actual behavior

cant remove/rebind

sharpchen avatar Dec 18 '25 15:12 sharpchen