In my vimrc, I have this little hack to equalize committia windows on open...
" Equalize committia windows, I use multiple laptops and external monitors
let g:committia_hooks = {}
function! g:committia_hooks.edit_open(info)
wincmd =
endfunction
I share my vimrc among multiple laptops with different screen sizes and a variety of external monitors, so fixed window sizes when using committia.vim doesn't really suit me. I imagine I'm not entirely alone here.
Do you think it's worth adding this as a feature to committia.vim, controlled by a variable like g:committia_equalize_windows (default 0, if 1, do wincmd= on open)?
I'm happy so submit a PR if you think this is useful.
Hi @rhysd,
In my
vimrc
, I have this little hack to equalize committia windows on open...I share my
vimrc
among multiple laptops with different screen sizes and a variety of external monitors, so fixed window sizes when using committia.vim doesn't really suit me. I imagine I'm not entirely alone here.Do you think it's worth adding this as a feature to committia.vim, controlled by a variable like
g:committia_equalize_windows
(default 0, if 1, dowincmd=
on open)?I'm happy so submit a PR if you think this is useful.