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:
parent
8a5408c002
commit
ec76965c70
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user