feat: add scrolloff

This commit is contained in:
əlemi 2022-09-01 01:10:22 +02:00
parent fab8fa8493
commit feb43cd7f9
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -36,6 +36,7 @@ vim.opt.hls = false
vim.opt.sessionoptions = "buffers,curdir,localoptions,tabpages,winsize" vim.opt.sessionoptions = "buffers,curdir,localoptions,tabpages,winsize"
vim.opt.foldlevelstart = 50 vim.opt.foldlevelstart = 50
vim.opt.termguicolors = true vim.opt.termguicolors = true
vim.opt.scrolloff = 4
-- vim.opt.signcolumn = "yes" -- vim.opt.signcolumn = "yes"
vim.opt.switchbuf = "usetab" vim.opt.switchbuf = "usetab"
vim.g.mapleader = "\\" vim.g.mapleader = "\\"
@ -48,6 +49,7 @@ vim.opt.winminheight = 3
vim.opt.winwidth = 12 vim.opt.winwidth = 12
vim.opt.winminwidth = 12 vim.opt.winminwidth = 12
-- Tabline -- Tabline
-- TODO customize structure to make selected tab use same hi as mode, maybe -- TODO customize structure to make selected tab use same hi as mode, maybe
-- check https://gist.github.com/kanterov/1517990 ? -- check https://gist.github.com/kanterov/1517990 ?