mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
add scrolloff config option
This commit is contained in:
parent
84d6ea7a63
commit
3ec856a78d
2 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,7 @@ O = {
|
|||
cmdheight = 2,
|
||||
cursorline = true,
|
||||
shell = "bash",
|
||||
scrolloff = 0,
|
||||
timeoutlen = 100,
|
||||
nvim_tree_disable_netrw = 0,
|
||||
ignore_case = true,
|
||||
|
|
|
@ -34,6 +34,7 @@ opt.hlsearch = O.hl_search -- highlight all matches on previous search pattern
|
|||
opt.ignorecase = O.ignore_case -- ignore case in search patterns
|
||||
opt.mouse = "a" -- allow the mouse to be used in neovim
|
||||
opt.pumheight = 10 -- pop up menu height
|
||||
opt.scrolloff = O.scrolloff -- minimal number of screen lines to keep above and below the cursor
|
||||
opt.showmode = false -- we don't need to see things like -- INSERT -- anymore
|
||||
opt.showtabline = 2 -- always show tabs
|
||||
opt.smartcase = O.smart_case -- smart case
|
||||
|
|
Loading…
Reference in a new issue