Bug#831746: vim: cursor does not skip over showbreak string properly

Andre Majorel aym-naibed at teaser.fr
Mon Jul 18 21:08:44 UTC 2016


Package: vim
Version: 2:7.4.488-7
Severity: normal

Dear vim maintainer,

normally, if a line soft wraps, the cursor will skip over the
showbreak string. For example, if showbreak is "x", moving the
cursor right from the last column of the first screen line will
skip over the "x" and jump to column 2 of the second screen line.

If a line is long enough to wrap more than once, something weird
happens on the 3rd and subsequent screen lines. Moving right
from the last column of the second screen line lands the cursor
on screen column 1, even though what is there is the showbreak
string. Moving right again lands on column 3, skipping over
column 2.

In other words, Vim displays all showbreak strings at screen
column 1 but directs cursor motion as if the second and
following were at screen column 1 + strlen(&showbreak).

-- Package-specific info:

--- real paths of main Vim binaries ---
/usr/bin/vi is /usr/bin/vim.gtk
/usr/bin/vim is /usr/bin/vim.gtk
/usr/bin/gvim is /usr/bin/vim.gtk

-- System Information:
Debian Release: 8.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vim depends on:
ii  libacl1      2.2.52-2
ii  libc6        2.19-18+deb8u3
ii  libgpm2      1.20.4-6.1+b2
ii  libselinux1  2.3-2
ii  libtinfo5    5.9+20140913-1+b1
ii  vim-common   2:7.4.488-7
ii  vim-runtime  2:7.4.488-7

vim recommends no packages.

Versions of packages vim suggests:
pn  ctags        <none>
ii  vim-doc      2:7.4.488-7
pn  vim-scripts  <none>

-- no debconf information

-- 
André Majorel <http://www.teaser.fr/~amajorel/>
# ln -s reportbug /usr/bin/getspam



More information about the pkg-vim-maintainers mailing list