You are not logged in.

#1 2006-03-04 16:45:43

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Vim in Screen won't split windows equally

Im running Vim in a vertical region in screen (I used a patch to give the ability to do horizontal splits, but that shouldn't affect this...), and all split commands like :sp :sb2 etc do not split the window equally, they just put the new window completely over the top of the old one:

----------------
|   ~~~~~~~    | 
|   ~~~~~~~    |
|   ~~~~~~~    |
|   ~~~~~~~    |
|   ~~~~~~~    |
----------------
caption line 1
----------------
caption line 2
----------------

Trying to evenly resize them with 'Ctrl-W =' doesn't work either, it just gives the same result. I've tried :set equalalways too, but that hasn't fixed it either.

Any suggestions *cough* PHRAKTURE *cough* ?


.oO Komodo Dave Oo.

Offline

#2 2006-03-05 05:07:25

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Vim in Screen won't split windows equally

Verify this with "vim -u NONE -U NONE" before starting, quick way to check if this is a result of some plugin/vimrc setting.

Offline

#3 2006-03-05 23:02:26

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: Vim in Screen won't split windows equally

Cheers phrak - that allowed me to split equally with no problems; I'll work through my .vimrc and eliminate suspect switches.

Komodo


.oO Komodo Dave Oo.

Offline

Board footer

Powered by FluxBB