From: Samir Benmendil Date: Mon, 10 Apr 2023 22:47:16 +0000 (+0100) Subject: vim: resize splits in all tabs when resizing vim X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/dae39d700fb3355e5bc62385e9a3ce82842ec395 vim: resize splits in all tabs when resizing vim --- diff --git a/vim/vimrc b/vim/vimrc index c5fca77..d92ec16 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -378,7 +378,7 @@ set sessionoptions+=unix,slash " damn windows and it's silly ways " Resize splits when the window is resized {{{2 augroup resize_splits au! - autocmd VimResized * :wincmd = + autocmd VimResized * :tabdo wincmd = augroup END " Only show cursorline in the current window and in normal mode {{{2