Set nvim's scrolloff to '8'
This keeps a bit of space around the cursor and the screen borders when scrolling.main
parent
9db0bcee71
commit
619bb9d7e3
|
@ -32,6 +32,9 @@ vim.opt.mouse = ''
|
|||
|
||||
vim.g.mapleader = " "
|
||||
|
||||
-- Always show 8 lines above or below the cursor when scrolling.
|
||||
vim.opt.scrolloff = 8
|
||||
|
||||
-- ----------------------------------
|
||||
-- Filetype configurations
|
||||
-- ----------------------------------
|
||||
|
|
Loading…
Reference in New Issue