local opt = vim.opt -- clipboard opt.clipboard = "unnamedplus" -- System clipboard -- cursor opt.cursorcolumn = true opt.cursorline = true -- linenumbers opt.number = true opt.relativenumber = false -- tabs / indentation opt.autoindent = true opt.expandtab = true opt.shiftwidth = 2 opt.tabstop = 2 opt.wrap = true -- undo / buffers opt.swapfile = false opt.undofile = true -- search opt.ignorecase = true opt.smartcase = true -- appearance opt.list = true opt.listchars = "trail:•,tab:⭾ ," opt.showmode = true opt.signcolumn = "yes" opt.termguicolors = true -- split windows opt.splitright = true opt.splitbelow = true -- timeout (e.g. after which time 'which-key' shows up) opt.timeoutlen = 400 -- other opt.hidden = true opt.history = 30 opt.backspace = "indent,eol,start"