vim-common: The /etc/papersize processing in /usr/share/vim/vimrc uses buffer 2.

Robert Collins robertc at squid-cache.org
Fri Nov 25 02:20:45 UTC 2005


Package: vim-common
Version: 1:6.4-001+2ubuntu3
Severity: normal



-- System Information:
Debian Release: testing/unstable
  APT prefers dapper-updates
  APT policy: (500, 'dapper-updates'), (500, 'dapper-security'), (500, 'dapper')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-9-386
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages vim-common depends on:
ii  vim                   1:6.4-001+2ubuntu3 Vi IMproved - enhanced vi editor

vim-common recommends no packages.

-- no debconf information


The reading of /etc/papersize results in buffer 2 being used when vim is started like 'vim foo.c'. This is very counterintuitive and confusing:
vim foo.c
:edit bar.c
:b1 # back to foo.c
:b2 # to /etc/papersize !!!

Rob




More information about the ubuntu-users mailing list