tabby icon indicating copy to clipboard operation
tabby copied to clipboard

PsReadLine key handlers not working

Open akselkvitberg opened this issue 6 years ago • 11 comments

I use Powershell Core 6.1.0 with PsReadline 2.0.0. Some shortcuts does work, some does not:

Some that works:

Backspace BackwardDeleteChar Ctrl+h BackwardDeleteChar Ctrl+Home BackwardDeleteLine Ctrl+End ForwardDeleteLine Shift+Insert Paste Ctrl+LeftArrow BackwardWord Ctrl+r ReverseSearchHistory Tab MenuComplete Some that does not work:

Shift+Enter AddLine Ctrl+Backspace BackwardKillWord Ctrl+Enter InsertLineAbove Shift+Ctrl+Enter InsertLineBelow Ctrl+Space MenuComplete Ctrl+a SelectAll

akselkvitberg avatar Nov 13 '18 19:11 akselkvitberg

These also do not work in powershell 5.1

JefeDavis avatar Dec 18 '18 06:12 JefeDavis

Shift-Tab MenuComplete does not work either

abergs avatar Feb 15 '19 20:02 abergs

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks unless you comment. Thank you for your contributions.

stale[bot] avatar May 24 '19 09:05 stale[bot]

Ctrl-A should be working in the latest nightly

Eugeny avatar Aug 11 '19 09:08 Eugeny

This still doesn't work :( in Windows 10 with powershell core, on ssh sessions.

jaanli avatar Sep 07 '21 16:09 jaanli

Many shortcuts still don't work 4 years later in Powershell and Powershell Core, does anyone actually use tabby without shortcuts?

ShayBox avatar Oct 20 '22 19:10 ShayBox

Are there plans to address this? Ctrl+Backspace is super useful in all kinds of CLI work. How do you live without it?

radeusgd avatar Feb 07 '23 17:02 radeusgd

Ctrl + Delete works to delete the next work. This should really be addressed however.

Alistair1231 avatar Apr 26 '23 18:04 Alistair1231

OK, I tried to enable the ConPTY, and now my Ctrl+H goes to delete the word, and the Ctrl+Backspace still gets a ^H. 😢

cest-la-v avatar May 04 '23 11:05 cest-la-v

just stumbled upon this issue. it would be a huge quality of life improvement if this would work.

for now i use ctrl+shift+left to select the last word/s and delete them (needed to remove the tabby shortcut to switch panes/ tabs)

alexn-s avatar May 11 '23 07:05 alexn-s

Here's a workaround (but not a solution) on Windows:

For deleting a word, Ctrl-W mostly work in shells and other apps like neovim. And to achieve that I used Windows Powertoys to map Ctrl-Backspace to Ctrl-W only for use within Tabby. You can do that easily using Powertoys Keyboard mapping.

This is exactly what sendSequence() or sendInput()would've done if we had it at our disposal.

tusharsnx avatar Jun 11 '23 18:06 tusharsnx

Looks like windows users don't use tabby)

yoursweetginger avatar Aug 30 '23 13:08 yoursweetginger

I'd use the quake mode in the Windows terminal if it actually worked reliably, yakuake on Linux.

ShayBox avatar Aug 30 '23 13:08 ShayBox