-- base vim.g.mapleader = " " -- line numbers vim.opt.nu = true vim.opt.relativenumber = true -- spell check vim.opt.spell = true vim.opt.spelllang = { 'pt', 'en' } -- tab vim.opt.tabstop = 4 vim.opt.softtabstop = 4 vim.opt.shiftwidth = 4 vim.opt.expandtab = true vim.smartindent = true -- search vim.opt.hlsearch = false vim.opt.incsearch = true -- edit history vim.opt.undofile = true vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir" vim.opt.scrolloff = 8 vim.opt.updatetime = 50