Start scrolling horizontally or vertically when the cursor is 5 characters from the edge, and scroll horizontally smoothly rather than in jumps

This commit is contained in:
Kevin MacMartin 2020-06-17 00:30:13 -04:00
parent 149f9254e9
commit 48bbdc39b7

View file

@ -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