mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-09 23:06:38 -05:00
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:
parent
149f9254e9
commit
48bbdc39b7
1 changed files with 2 additions and 1 deletions
|
@ -82,7 +82,8 @@
|
||||||
set cursorline cursorcolumn "enable row/column highlighting
|
set cursorline cursorcolumn "enable row/column highlighting
|
||||||
set visualbell "notify visually instead of with an audible bell
|
set visualbell "notify visually instead of with an audible bell
|
||||||
set splitright "add new tiles on the right (and not left) when added
|
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 list listchars=tab:>-,trail:- "display tabs as: >--- and trailing spaces as: -
|
||||||
set showmatch "show matching open bracket when closed bracket is inserted
|
set showmatch "show matching open bracket when closed bracket is inserted
|
||||||
set matchtime=5 "the amount of time before the matching bracket will highlight
|
set matchtime=5 "the amount of time before the matching bracket will highlight
|
||||||
|
|
Loading…
Reference in a new issue