-- relative line numbers vim.opt.number = true vim.opt.relativenumber = true -- 4 space tabs vim.opt.tabstop = 4 vim.opt.softtabstop = 0 vim.opt.shiftwidth = 4 vim.opt.smarttab = true vim.opt.expandtab = true -- smart indenting vim.opt.autoindent = true vim.opt.smartindent = true -- no line wrap vim.opt.wrap = false -- search highlighting vim.opt.hlsearch = false vim.opt.incsearch = true -- keep 9 lines on top/bottom vim.opt.scrolloff = 9 -- 80, 120 char col vim.opt.colorcolumn = { "80", "120" } -- show whitespace vim.opt.list = true -- ^A, ^X behaviour vim.opt.nrformats = "unsigned,alpha,hex,bin"