-- ============================================================================ -- Neovim Options - Grundlegende Einstellungen -- ============================================================================ local opt = vim.opt -- Zeilennummern opt.number = true opt.relativenumber = false -- Absolute Nummern für QA-Arbeit -- Maus opt.mouse = 'a' -- Clipboard (System Clipboard nutzen) opt.clipboard = 'unnamedplus' -- Tabs & Indentation opt.tabstop = 2 opt.shiftwidth = 2 opt.expandtab = true opt.autoindent = true opt.breakindent = true -- Suche opt.ignorecase = true opt.smartcase = true opt.hlsearch = true opt.incsearch = true -- Aussehen opt.termguicolors = true opt.signcolumn = 'yes' opt.cursorline = true opt.scrolloff = 10 opt.sidescrolloff = 8 -- Split windows opt.splitright = true opt.splitbelow = true -- Undo & Backup opt.undofile = true opt.backup = false opt.swapfile = false -- Performance opt.updatetime = 250 opt.timeoutlen = 300 -- Whitespace characters opt.list = true opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' } -- Command line opt.showmode = false -- Statusline zeigt mode schon -- Completion opt.completeopt = 'menu,menuone,noselect' -- Fold (erstmal aus) opt.foldenable = false