Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature suggestion: option to equalize windows on open #68

Open
mmrwoods opened this issue Nov 3, 2024 · 0 comments
Open

Feature suggestion: option to equalize windows on open #68

mmrwoods opened this issue Nov 3, 2024 · 0 comments

Comments

@mmrwoods
Copy link
Contributor

mmrwoods commented Nov 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant