From feb43cd7f9d0ef4513d9b5be07c6edbeb2d86e83 Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 1 Sep 2022 01:10:22 +0200 Subject: [PATCH] feat: add scrolloff --- init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.lua b/init.lua index 50df8ba..fd28951 100644 --- a/init.lua +++ b/init.lua @@ -36,6 +36,7 @@ vim.opt.hls = false vim.opt.sessionoptions = "buffers,curdir,localoptions,tabpages,winsize" vim.opt.foldlevelstart = 50 vim.opt.termguicolors = true +vim.opt.scrolloff = 4 -- vim.opt.signcolumn = "yes" vim.opt.switchbuf = "usetab" vim.g.mapleader = "\\" @@ -48,6 +49,7 @@ vim.opt.winminheight = 3 vim.opt.winwidth = 12 vim.opt.winminwidth = 12 + -- Tabline -- TODO customize structure to make selected tab use same hi as mode, maybe -- check https://gist.github.com/kanterov/1517990 ?