diff --git a/private_dot_config/nvim/init.lua b/private_dot_config/nvim/init.lua index aee8af3..1bb3449 100644 --- a/private_dot_config/nvim/init.lua +++ b/private_dot_config/nvim/init.lua @@ -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 -- ----------------------------------