lens.vim
lens.vim copied to clipboard
Resize prefers the right side without animate.vim
#6 reported that the leftmost split is often left untouched when resizing vertical splits with animate.vim. That issue was fixed upstream. The behavior persists, however, when using lens.vim to handle resizing.
Ideally (at least for me) the active window would be resized as configured with other splits being distributed evenly (see: https://github.com/camspiers/lens.vim/issues/6#issuecomment-591138185).
I have fixed it with adding following lines to lens#run function
setlocal winfixheight
setlocal winfixwidth
wincmd =
setlocal nowinfixheight
setlocal nowinfixwidth
I can create a pull request...