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

vim: group splitting options together

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
Joe Groocock 2020-08-10 22:01:22 +01:00
parent 8a5408c002
commit ec76965c70
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -49,15 +49,14 @@ 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
set smartcase set smartcase
set magic set magic
" Auto-resize split on window resize
autocmd VimResized * wincmd =
" More natural splits " More natural splits
set splitbelow " Horizontal split below current. set splitbelow " Horizontal split below current.
set splitright " Vertical split to right of current. set splitright " Vertical split to right of current.