-- lua/core/options.lua local opt = vim.opt -- Line numbers opt.number = true -- Show absolute line number opt.relativenumber = false -- Show relative line numbers -- Tabs & indentation opt.tabstop = 4 -- 1 tab = 4 spaces opt.shiftwidth = 4 -- Indent by 4 spaces opt.expandtab = true -- Convert tabs to spaces opt.smartindent = true -- Autoindent new lines -- Line wrapping opt.wrap = false -- Don't wrap long lines -- Search opt.ignorecase = true -- Ignore case when searching... opt.smartcase = true -- ...unless you use caps -- Cursor opt.cursorline = true -- Highlight the current line -- Appearance opt.termguicolors = true -- True color support opt.scrolloff = 8 -- Keep 8 lines above/below cursor opt.colorcolumn = "160" -- Show a line at 160 chars -- Clipboard -- opt.clipboard = "unnamedplus" -- Use system clipboard -- Split windows opt.splitright = true -- Vertical split to the right opt.splitbelow = true -- Horizontal split below -- Backup & Swap opt.swapfile = false opt.backup = false opt.undofile = true -- Save undo history -- Mouse opt.mouse = "a" -- Enable mouse in all modes