Skip to content

Feature suggestion: option to equalize windows on open #68

@mmrwoods

Description

@mmrwoods

Hi @rhysd,

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions