set scrolloff and sidescrolloff

This commit is contained in:
Anton Volnuhin 2023-05-18 16:25:10 +03:00
parent 894a0372d8
commit 4568d76156

View File

@ -3,6 +3,8 @@ vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.wo.number = true
vim.wo.signcolumn = "yes"
vim.o.scrolloff = 3
vim.o.sidescrolloff = 2
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then