On 04/06/10 21:49, Peng Yu wrote:
I use gvim -o to open say 20 files. But, say, only 10 of them can be
viewed in the current window. I close 5 of them using ":db". Then I
want to open 5 more from the buffer in the current window. Could you
please let me know how to do it?
I don't know, but if you make sure that 'winminheight' is set to 0 (the
default is 1) you'll be able to open approximately half again as many
windows. Of course if there are really many of them, most of the screen
real estate will be taken up by the status lines, so setting 'winheight'
to a large number, and/or using ":wincmd _" (without the quotes), at the
VimEnter event (not earlier, or your -o switch won't work), will help
you see the contents of your current window. (At the moment I have 25
windows open with only horizontal splits in a single gvim tab, and the
current one still has 21 lines visible. Not really enormous but still
workable.)
Best regards,
Tony.
--
Seleznick's Theory of Holistic Medicine:
Ice Cream cures all ills.
--
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