vim.opt.guicursor = "" vim.opt.nu = true vim.opt.relativenumber = true vim.opt.errorbells = false vim.opt.tabstop = 4 vim.opt.softtabstop = 4 vim.opt.shiftwidth = 4 vim.opt.expandtab = true vim.opt.smartindent = true vim.opt.wrap = false -- Give more space for displaying messages. vim.opt.cmdheight = 1 -- Having longer updatetime (default is 4000 ms = 4 s) leads to noticeable -- delays and poor user experience. vim.opt.updatetime = 50 vim.opt.swapfile = false vim.opt.backup = false vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir" vim.opt.undofile = true vim.opt.termguicolors = true vim.opt.updatetime = 50 vim.opt.colorcolumn = "80" vim.g.mapleader = " "