On 09/12/12 20:23, Tim Chase wrote:
On 12/09/12 08:41, Some Developer wrote:
Is it possible to set the default size of a split when it is opened? I
use the Vim man page plug-in that allows you to use <Leader>+K to open
the man page for the word under the cursor but it opens in a split that
is tiny and also resizes any other open splits which means I need to
resize them every time I try and open a man page.
It would be nice if I could make the size of the man page split a
certain size and then scale the other open splits accordingly.
Unfortunately I have no idea if this is possible.
It sounds like you want to mess with the following options:
:help 'winminwidth'
:h 'winminheight'
:h 'winwidth'
:h 'winheight'
which can be done on a vim-wide basis, or you can use an :autocmd to
set them for particular buffer-types when they're opened.
-tim
Yes, and the following are also relevant:
:help 'equalalways'
(boolean) to make split-windows as close to equal as possible
:help 'eadirection'
(string) to decide whether 'equalalways' applies to horizontal splits,
vertical splits, or both.
Best regards,
Tony.
--
A reactionary is a man whose political opinions always manage to keep
up with yesterday.
--
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