_: { programs.nixvim.opts = { lazyredraw = true; startofline = true; showmatch = true; belloff = "all"; showcmd = true; mouse = "a"; modeline = true; wrap = false; spell = false; # don't change the directory when a file is opened # to work more like an IDE autochdir = false; autoindent = true; smartindent = true; smarttab = true; backspace = [ "indent" "eol" "start" ]; list = true; undofile = true; undodir = "/home/jonathan/.vimdid"; tabstop = 4; softtabstop = 4; shiftwidth = 4; expandtab = true; # relative line numbers except the current line number = true; relativenumber = true; # show (usually) hidden characters listchars = { nbsp = "¬"; extends = "»"; precedes = "«"; trail = "·"; tab = ">-"; }; # highlight current line cursorline = true; # clipboard == system clipboard clipboard = "unnamedplus"; }; }