vim.g.have_nerd_font = true vim.opt.number = true vim.opt.relativenumber = true vim.opt.signcolumn = "yes" vim.opt.mouse = "a" -- Don't show the mode, since it's already in the status line vim.opt.showmode = false -- Sync clipboard between OS and Neovim. vim.schedule(function() vim.opt.clipboard = "unnamedplus" end) vim.opt.breakindent = true vim.opt.undofile = true vim.opt.ignorecase = true vim.opt.smartcase = true vim.opt.updatetime = 250 vim.opt.timeoutlen = 300 vim.opt.splitright = true vim.opt.splitbelow = true vim.opt.list = true vim.opt.listchars = { tab = "» ", trail = "○", nbsp = "␣", lead = "•" } -- Preview substitutions live, as you type! vim.opt.inccommand = "split" vim.opt.cursorline = true vim.opt.scrolloff = 5 vim.opt.confirm = true vim.opt.virtualedit = "block"