local opt = vim.opt -- set leader to space bar vim.g.mapleader = " " -- remaining options opt.nu = true opt.relativenumber = true opt.tabstop = 4 opt.softtabstop = 4 opt.shiftwidth = 4 opt.expandtab = true opt.smartindent = true opt.swapfile = false opt.backup = false -- thanks primeagen, for this awesome feature i did not know about yet lol opt.undodir = os.getenv("HOME") .. "/.vim/undodir" opt.undofile = true opt.hlsearch = true opt.incsearch = true opt.termguicolors = true opt.scrolloff = 8 opt.updatetime = 50 opt.colorcolumn = "80" require("hex.install.lazy") require("hex.config.lazy") require("hex.config.keymaps")