diff --git a/vim/config/settings.vim b/vim/config/settings.vim index 056a9b4..364ff78 100644 --- a/vim/config/settings.vim +++ b/vim/config/settings.vim @@ -82,7 +82,8 @@ set cursorline cursorcolumn "enable row/column highlighting set visualbell "notify visually instead of with an audible bell set splitright "add new tiles on the right (and not left) when added - set scrolloff=0 sidescrolloff=0 "start scrolling if the cursor is one position away from the edge + set scrolloff=5 "scroll vertically when the cursor is 5 characters away from the top or bottom + set sidescroll=1 sidescrolloff=5 "scroll horizontally when the cursor is 5 chars away from the edge set list listchars=tab:>-,trail:- "display tabs as: >--- and trailing spaces as: - set showmatch "show matching open bracket when closed bracket is inserted set matchtime=5 "the amount of time before the matching bracket will highlight