-- from tutorial, needs research vim.opt.backspace = '2' vim.opt.showcmd = true vim.opt.laststatus = 2 --vim.opt.autowrite = true -- general look and feel vim.opt.cursorline = true vim.opt.cursorcolumn = true vim.opt.scrolloff = 5 vim.opt.colorcolumn = "81" -- buffers vim.opt.autoread = true vim.opt.wildmode = 'longest,list' vim.opt.ttyfast = true --vim.opt.pastetoggle = '' -- formatting vim.opt.expandtab = true vim.opt.tabstop = 4 vim.opt.shiftwidth = 4 vim.opt.shiftround = true vim.opt.autoindent = true vim.opt.list = true vim.opt.listchars = 'eol:¬,tab:>·,trail:~,extends:>,precedes:<,space:·' vim.opt.smartindent = true vim.opt.wrap = false -- ERROR vim.opt.smartindend = true -- ERROR vim.opt.nowrap = true -- side column stuff vim.opt.nu = true vim.opt.signcolumn = 'yes' -- searching vim.opt.ignorecase = true vim.opt.smartcase = true vim.opt.incsearch = true vim.opt.hlsearch = true vim.opt.wildignorecase = true -- system clipboard -- this was pretty annoying --vim.opt.clipboard = 'unnamedplus'