{ programs.nixvim.globals.mapleader = " "; programs.nixvim.opts = { updatetime = 50; # Faster completion number = true; relativenumber = true; autoindent = true; clipboard = "unnamed,unnamedplus"; expandtab = true; tabstop = 2; softtabstop = 2; shiftwidth = 2; smartindent = true; breakindent = true; ignorecase = true; incsearch = true; hlsearch = true; smartcase = true; wildmode = "list:longest"; completeopt = [ "menuone" "noselect" "noinsert" ]; signcolumn = "yes"; cursorline = false; scrolloff = 8; mouse = "a"; termguicolors = true; showmode = false; wrap = true; linebreak = true; swapfile = false; undofile = true; conceallevel = 3; }; programs.nixvim.extraConfigLuaPost = '' vim.g.neovide_scale_factor = 1.0 local change_scale_factor = function(delta) vim.g.neovide_scale_factor = vim.g.neovide_scale_factor * delta end vim.keymap.set("n", "", function() change_scale_factor(1.25) end) vim.keymap.set("n", "", function() change_scale_factor(1/1.25) end) ''; }