Bug#793781: vim: 'vim -c :gui' doesn't apply <Shift+Insert> mappings

Daniel Shahaf danielsh at apache.org
Sun Jul 26 16:48:06 UTC 2015

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

Dear Maintainer,

When pressing <Shift+Insert> in GVim, the current behaviour in jessie is:

- Pasting from the "* register, if GVim was started by running 'gvim';
- Inserting the literal text "<S-Insert>" (9 characters), if GVim was
  started by using the ":gui" command from console vim.

I expected both cases to behave the same way.

This is due to how runtime/debian.vim installs GUI-specific mappings;
a suggested patch is attached.

-- 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.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing-updates'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
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
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:
ii  exuberant-ctags [ctags]  1:5.9~svn20110310-8
pn  vim-doc                  <none>
pn  vim-scripts              <none>

-- debconf-show failed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debian.vim.diff
Type: text/x-diff
Size: 922 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20150726/44f177b5/attachment.diff>

More information about the pkg-vim-maintainers mailing list