Bug#346089: vim: resets hoz-split window sizes after writing over netrw/sftp

Jon Dowland bugs at alcopop.org
Thu Jan 5 14:28:36 UTC 2006


Package: vim
Version: 1:6.3-071+1
Severity: minor

Vim resets the window sizes for horizontally-split windows when
writing to a file over SFTP (via netrw).

To reproduce:
	start vim
	split the display into two windows (^W s)
	resize one of them (^W - a few times)
	open a file over sftp (:e sftp://user@host/file)
	make a change, save it (:w)
	notice that the two windows have re-sized to be even

This only seems to happen with horizontal splits and not vertical
ones. 

I have tried to isolate my vim config, I don't believe anything in it
is special. "vim -u NONE -U NONE" prevents me from using netrw, but
moving $HOME/.{vim, vimrc, gvimrc} out of the way does not fix the
bug.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11-jmtd
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages vim depends on:
ii  dpkg                     1.10.28         Package maintenance system for Deb
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libgpmg1                 1.19.6-19sarge1 General Purpose Mouse - shared lib
ii  libncurses5              5.4-4           Shared libraries for terminal hand
ii  vim-common               1:6.3-071+1     Vi IMproved - Common files

-- no debconf information




More information about the pkg-vim-maintainers mailing list