nvim: configure cursorline and scrolloff

This commit is contained in:
tastytea 2022-08-10 18:05:34 +02:00
parent 51881cecd1
commit fd529cdd5f
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -4,6 +4,8 @@ vim.o.listchars = 'tab:▸ ,trail:·,nbsp:+'
vim.o.textwidth = 80 -- default text width
vim.o.colorcolumn = tostring(vim.o.textwidth)
vim.o.wrap = false
vim.o.cursorline = true -- highlight row with cursor
vim.o.scrolloff = 5 -- show 5 lines below/above cursor
vim.o.expandtab = true -- indent using spaces
vim.o.tabstop = 4 -- 1 tab = 4 spaces