Ctrl+Right Arrow generates ^[[1;5C Both inside and outside the screen combination send by Ctrl+Right Arrow seems to be the same. Seems like 5C gets interpreted by vim, not sure why it isn't parsed in the same way like outside of screen, but in this case I suspect it may be bug in vim instead.
Amadeusz On Thu, 20 Oct 2016 13:11:45 +0200 Amadeusz Sławiński <am...@asmblr.net> wrote: > I don't think I've seen it before, but getting onto bug. > > > > On Thu, 20 Oct 2016 06:26:04 -0400 (EDT) > Josef Ridky <jri...@redhat.com> wrote: > > > Sure, I have already asked about this (here, in -users mail list or > > in bug report on gnu.org, just can't remember where) > > > > There is text of bug report with removing lines issue: > > > > ---------------------------------- > > When running vim inside screen pressing ctrl+arrow_left or > > ctrl+arrow_right simultaneously deletes several lines of text. This > > does not happen when running vim directly in xterm for example. A > > workaround seems to be to add "set term=xterm" in .vimrc, but that > > may have various side effects. > > > > Steps to Reproduce: > > 1. # screen > > 2. # vim /etc/resolv.conf > > 3. hit ctrl + arrow_right > > > > Actual results: > > multiple lines of text get deleted > > > > Expected results: > > nothing happens > > > > ---------------------------------- > > > > I am not sure, if this issue was even correctly reported to screen, > > or if it is problem of vim or anything else. > > > > Josef > > > > ----- Original Message ----- > > | From: "Amadeusz Sławiński" <am...@asmblr.net> > > | To: screen-devel@gnu.org > > | Sent: Wednesday, October 19, 2016 5:23:54 PM > > | Subject: Re: [screen-devel] screen + tcsh > > | > > | On Wed, 19 Oct 2016 10:47:12 -0400 (EDT) > > | Josef Ridky <jri...@redhat.com> wrote: > > | > > | > term=xterm is used for avoiding to remove lines in vim when is > > | > pressed some specific key combination. > > | > > > | > > | Do you have any example of such combination? > > | > > | > > | Amadeusz > > | > > | > > >