options: add scrolloff

This commit is contained in:
Guanran Wang 2024-02-23 13:24:57 +08:00
parent 6255b448aa
commit b3f01de588
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -14,6 +14,10 @@ vim.cmd([[
]])
vim.opt.mouse = "a"
-- Scrolling
vim.opt.scrolloff = 8
vim.opt.sidescrolloff = 8
-- System integration
vim.cmd([[ set noswapfile ]])
vim.opt.clipboard = "unnamedplus"