add horizontal scrolloff option

This commit is contained in:
Baipyrus 2024-03-07 12:50:37 +01:00
parent 6c52d13b74
commit 758893b060

View File

@ -77,7 +77,8 @@ vim.opt.inccommand = 'split'
-- Show which line your cursor is on -- Show which line your cursor is on
vim.opt.cursorline = true vim.opt.cursorline = true
-- Minimal number of screen lines to keep above and below the cursor. -- Minimal spacing to keep around the cursor.
vim.opt.scrolloff = 8 vim.opt.scrolloff = 8
vim.opt.sidescrolloff = 12
-- vim: ts=2 sts=2 sw=2 et -- vim: ts=2 sts=2 sw=2 et