feat: add scrolloff
This commit is contained in:
parent
fab8fa8493
commit
feb43cd7f9
1 changed files with 2 additions and 0 deletions
2
init.lua
2
init.lua
|
@ -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 ?
|
||||||
|
|
Loading…
Reference in a new issue