Bug#375127: vim: bufwinleave does not work across tabs
Kamaraju Kusumanchi
kamaraju at gmail.com
Fri Jun 23 15:41:58 UTC 2006
Package: vim
Version: 1:7.0-017+8
Severity: normal
To reproduce the bug
$cat temp1.txt
This is temp1.txt
$cat temp2.txt
This is temp2.txt
$cat ~/.vimrc
au BufWinLeave *.txt mkview
au BufWinEnter *.txt loadview
$gvim temp1.txt
Now inside gvim do
:tabe temp2.txt
this will open temp2.txt in a new tab. Inside this tab enter
:q
Now quit temp1.txt also by doing
:q
At this point 2 files have to be written to ~/.vim/view . However only
one file is written.
$ls ~/.vim/view/
~=+temp=+temp1.txt=
If I replace the :tabe command by :sp or :vs then two files (one for
temp1.txt, one for temp2.txt) are written as expected. I am seeing the
same behavior in vim as well as gvim.
I initially asked this question on vim user's mailing list
http://groups.yahoo.com/group/vim/message/70439 and people there cannot
reproduce this problem. So I am guessing it is a problem in the debian
package which is why I am reporting here.
thanks
raju
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages vim depends on:
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii libgpmg1 1.19.6-22 General Purpose Mouse - shared lib
ii libncurses5 5.5-2 Shared libraries for terminal hand
ii vim-common 1:7.0-017+8 Vi IMproved - Common files
ii vim-runtime 1:7.0-017+8 Vi IMproved - Runtime files
vim recommends no packages.
-- no debconf information
More information about the pkg-vim-maintainers
mailing list