Bug#346089: NetRW resets split window sizes

James Vega jamessan at debian.org
Thu Mar 5 16:25:27 UTC 2009


On Thu, Mar 05, 2009 at 10:28:35AM -0500, Charles Campbell wrote:
> James Vega wrote:
>> On Wed, Mar 04, 2009 at 09:15:21PM -0500, Charles E. Campbell, Jr. wrote:
>>   
>>> James Vega wrote:
>>>     
>>>> Charles,
>>>>
>>>> Since various parts of autoload/netrw.vim uses :new to handle
>>>> transferring the remote file, users with 'equalalways' set and non-equal
>>>> window sizes will see the windows change size when using NetRW.
>>>>
>>>> To reproduce:
>>>>
>>>>    vim -u NORC -N
>>>>    :wincmd s
>>>>    :4wincmd -
>>>>    :e sftp://user@host/file
>>>>    :put _
>>>>    :w
>>>>
>>>>          
>>> What version of netrw are you using?  I tried both ftp and sftp and   
>>> didn't see the effect with v136b.
>>>     
>>
>> I just tried it with v136b and still see the problem.  Maybe you just
>> didn't notice the window size change since it's only a few lines
>> different?  Changing ":4wincmd -" to ":wincmd _" makes it very apparent.
>>
>>   
> Oh, I was quite able to discern the difference before -- and it works  
> both ways (with 4wincmd and with wincmd _).
> I've attached two files:
>
> * put prblm21.tst in your home directory
> * put prblm21 wherever you want
> vim -u NORC -N prblm21
> :so %

You're ignoring the last two steps of my description.

  :put _
  :w

I.e., make a change to the file and write it out again.  I should've
made it more clear in my initial mail that the window resizing is
happening in NetWrite.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20090305/4ad5b426/attachment.pgp 


More information about the pkg-vim-maintainers mailing list