On 9 Aug 2022 14:18:06 GMT
Joe Koenig <
joe.k...@gmx.de> wrote:
> Hi,
>
> confessions up front: I'm an Arrow-Key user.
>
> Naturally, my .vimrc has a setting like:
> set keymodel=startsel,stopsel
>
> This seems to work with the standard Bash/XTerm configuration.
> However, when using URxvt, I've noticed a slight misbehaviour:
> <Shift-Left>/<Shift-Right> work as expected. They start a visual
> selection. A consecutive press of an Arrow-Key (without <Shift>)
> aborts the selection.
> <Shift-Left>/<Shift-Right> work as expected.
> <Shift-Down>/<Shift-Up> do not start the selection at all.
So , if I understand correctly , it is <Shift-Down> and <Shift-Up>
which do not produce the expected behaviour , yes ?
Try doing
:nmap <S-Down> :echo "Hello world"
.Then pressing <Shift-Down> should show on the vim command line
:echo "Hello world" .If this works on xterm but not on URxvt
then it means that on the latter vim does not have the right idea
on what sequence of bytes <Shift-Down> produces. But lets start
with the above test and we'll take it from there.
Try the analogous for <Shift-Up> .