2012/3/5, Martin Petrov <[email protected]>: > BTW, you may also want to have a look at the equalalways option. > > A set noea might be useful if you want to specify manual split sizes. > Though in this case I doubt it'll be very useful. > > Cheers, > Martin > > > > Le 4 mars 2012 20:49, mascip <[email protected]> a écrit : > >> Thank you, both of you :o) >> >> > set co=155 >> > :78 vs >> > set co=156 >> this didn't work on my computer (windows xp) >> i obtained one window with 67 columns, and one with 89 (and the >> numbers are not always the same, in fact) >> >> The <CTRL>-W V solution works perfectly for me, if i set the initial >> window at the right size: 163 (that's a bit more than 2 * 78 = 156) >> >> If anyone has a more graceful solution, i would be happy to hear it, >> but now my problem is solved adequately. >> >> Nice, thanks =) >> >> 2012/3/5, Martin Petrov <[email protected]>: >> > When I tried this on macvim 7.3 (snapshot 62 / 15.8.2010) all seemed >> fine. >> > On linux gvim 7.3 (15.8.2010) I had to resize the window for everything >> to >> > snap into place as expected. >> > >> > This might be a silly solution but you can try to give this a go: >> > set co=155 >> > :78 vs >> > set co=156 >> > >> > -- Martin >> > >> > >> > Le 4 mars 2012 19:25, Michael Ludwig <[email protected]> a écrit : >> > >> >> mascip schrieb am 04.03.2012 um 21:32 (+0000): >> >> >> >> > I want to open gVim with a window split in two, >> >> > and i want to be able to set the size of both windows (to 78, but >> >> > that's not the point). >> >> > >> >> > How can i do this? >> >> > >> >> > I tried to first set the number of columns of the unique window, >> >> > and then split it to the right size, >> >> > but it doesn't split to the size i specified, at all. >> >> > Why is that? >> >> >> >> In GVim 7.3 (27.10.2010) on Windows, your commands beloew work fine, >> >> producing a split window that looks like 78 columns (haven't counted). >> >> >> >> > Here is what i did : >> >> > set co=156 " window's number of columns >> >> > :78 vs " open with 2 vertical windows >> >> >> >> To split the window in two even halves, do C-w v. That won't start Vim >> >> with the split in place, but it's just two keystrokes, so maybe is good >> >> enough. >> >> >> >> -- >> >> Michael Ludwig >> >> >> >> -- >> >> You received this message from the "vim_use" maillist. >> >> Do not top-post! Type your reply below the text you are replying to. >> >> For more information, visit http://www.vim.org/maillist.php >> >> >> > >> > -- >> > You received this message from the "vim_use" maillist. >> > Do not top-post! Type your reply below the text you are replying to. >> > For more information, visit http://www.vim.org/maillist.php >> > >> >> >> -- >> >> [email protected] >> http://lesrikikibians.fr >> >> -- >> You received this message from the "vim_use" maillist. >> Do not top-post! Type your reply below the text you are replying to. >> For more information, visit http://www.vim.org/maillist.php >> > > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php >
-- [email protected] http://lesrikikibians.fr -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
