From d106ea1053dd11e61e1ac9c8b2be00b3317b8e53 Mon Sep 17 00:00:00 2001 From: inkch Date: Wed, 6 Mar 2024 16:47:02 +0900 Subject: [PATCH] nvim: set scrolloff option (=12) --- dot_config/nvim/lua/core/options.lua.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/dot_config/nvim/lua/core/options.lua.tmpl b/dot_config/nvim/lua/core/options.lua.tmpl index 7599e0e..8bb97e5 100644 --- a/dot_config/nvim/lua/core/options.lua.tmpl +++ b/dot_config/nvim/lua/core/options.lua.tmpl @@ -27,6 +27,7 @@ vim.opt.gdefault = true vim.opt.autoread = true vim.opt.history = 1000 vim.opt.encoding = "utf-8" vim.opt.number = true vim.opt.relativenumber = true +vim.opt.scrolloff = 12 vim.opt.laststatus = 2 vim.opt.showcmd = true vim.opt.showmatch = true