local op = vim.opt op.nu = true op.relativenumber = true op.softtabstop = 4 op.tabstop = 4 op.shiftwidth = 4 op.expandtab = true op.cindent = true op.wrap = false op.swapfile = false op.backup = false op.undodir = GetHomeDir() .. "/.vim/undodir" op.undofile = true op.hlsearch = false op.incsearch = true op.termguicolors = true op.cursorline = true op.scrolloff = 8 op.autoread = true op.updatetime = 50 op.cursorline = false op.colorcolumn = '80' vim.cmd[[ colorscheme moonfly ]] if vim.fn.executable('rg') > 0 then op.grepprg = 'rg --vimgrep' end