local opt = vim.opt opt.relativenumber = true opt.number = true opt.tabstop = 2 opt.shiftwidth = 2 opt.expandtab = true opt.autoindent = true opt.ignorecase = true opt.smartcase = true opt.undodir = os.getenv("HOME") .. "/.vim/undodir" opt.undofile = true opt.hlsearch = false opt.incsearch = true opt.scrolloff = 999 opt.termguicolors = true opt.background = "dark" opt.signcolumn = "yes" opt.backspace = "indent,eol,start" opt.clipboard:append("unnamedplus") opt.splitright = true opt.splitbelow = true opt.iskeyword:append("-")