Switching to use smkx/rmkx application mode and terminfo for portability was a good idea: you're supposed to use portability libraries for stuff like this. But I think it's time to call it a failed experiment. Not because the implementation in OMZ was bad, but because terminfo and the various terminal programs out there don't have sufficient support for it.
the keypad transmit mode should be removed in pick and the ESC-sequences for the Cursor keys also hardcoded to these from xterm-terminfo: ^[OA, ^[OB, ^[OC, ^O[D ...
... this is not an issue of
pick.vim
(orpick
) but related to thekeypad transmit mode
:tmux
always sendssmkx
to the terminal (https://github.com/tmux/tmux/commit/78ca1b02656808908e2c5dc19909966c3d3bb555), but this does not help withpick
invim
...It works with
xterm
, but not withrxvt-unicode
:... with
rxvt-unicode
and pressingLeft
/Right
:... now using the
smkx
-sequence fromxterm
withrxvt-unicode
(and pressingLeft
/Right
):... looks good, but seems that the
smkx
-sequence inrxvt-unicode
is broken (or incomplete) ...After reading https://github.com/robbyrussell/oh-my-zsh/pull/5113:
the
keypad transmit mode
should be removed inpick
and the ESC-sequences for the Cursor keys also hardcoded to these fromxterm
-terminfo:^[OA
,^[OB
,^[OC
,^O[D
...