pombreda / vcscommand

Automatically exported from code.google.com/p/vcscommand
0 stars 0 forks source link

VCSVimDiff: does not restore vertical res and ignores :topleft #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When returning from VCSVimDiff, the vertical resolution of two vertically
split windows is set hard to 50% each, overwriting the original vertical
res of the windows.

How to reproduce:
* Create a vertically split window (:vsp) and set the width of the
  left window different from the right (in the left window do e.g.
  :vertical res 100)
* In the left window do: :VCSVimDiff
* Close VCS windows by CTRL-W Q
* Problem: the vertical res of both windows is changed homogenously
  to 50% each.

Notes:
1) This is even worse when using 3 vertically split windows.

2) I tried :topleft VCSVimDiff to not interfer with the vertically
split windows, however, VCS seems to ignore :topleft (no effect).

Thank You!
Felix

Original issue reported on code.google.com by fka...@googlemail.com on 19 Feb 2009 at 9:37

GoogleCodeExporter commented 9 years ago
The resizing is a function of VIM, and can't be controlled from the plugin.  
The same
thing happens if you split windows using any command and then close one.

The :topleft appears to be functional only for default VIM commands.  I don't 
see any
way to determine if those were specified when a command is running.  I am not 
opposed
to adding support for such if someone can tell me how to do it, however.

Original comment by bob.hies...@gmail.com on 27 Jul 2009 at 3:08