local set = vim.opt vim.cmd('filetype indent plugin on') vim.cmd('syntax enable') vim.cmd('set undodir=$HOME/.vim/undo') vim.cmd('set undofile') set.mouse = "a" set.termguicolors = true set.hidden = true set.wildmenu = true set.wildignorecase = true set.fileignorecase = true set.showcmd = true set.hlsearch = true set.ignorecase = true set.smartcase = true set.incsearch = true set.backspace= 'indent,eol,start' set.pastetoggle = '' set.confirm = true set.number = true set.relativenumber = true set.shiftwidth = 4 set.softtabstop = 4 set.autoindent = true set.expandtab = true set.showmode = false set.ruler = false set.timeout = false set.ttimeoutlen = 200 set.wrap = false set.fcs = 'eob: ' set.swapfile = false set.cursorline = true vim.cmd('colorscheme doom-one')