1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

vim: auto-resize splits on window resize

This commit is contained in:
Joe Groocock 2018-11-03 23:05:44 +00:00
parent 3471454e8e
commit 56229dea13
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -49,6 +49,9 @@ endfunction
set autowrite set autowrite
autocmd CursorHold,CursorHoldI,InsertLeave,FocusGained,FocusLost * call SaveIfExist() autocmd CursorHold,CursorHoldI,InsertLeave,FocusGained,FocusLost * call SaveIfExist()
" Auto-resize split on window resize
autocmd VimResized * wincmd =
" Search options " Search options
set hlsearch set hlsearch
set ignorecase set ignorecase