nix-config/programs/nixvim/options.nix

37 lines
617 B
Nix
Raw Normal View History

2025-10-04 22:37:21 -07:00
{ ... }:
2025-10-03 20:20:39 -07:00
{
programs.nixvim = {
clipboard = {
register = "unnamedplus";
};
opts = {
backup = false;
breakindent = true;
expandtab = true;
hlsearch = true;
incsearch = true;
mouse = "a";
number = true;
relativenumber = true;
scrolloff = 8;
shiftwidth = 2;
2025-10-04 22:37:21 -07:00
signcolumn = "auto";
2025-10-03 20:20:39 -07:00
smartindent = true;
swapfile = false;
tabstop = 2;
termguicolors = true;
undofile = true;
updatetime = 250;
wrap = false;
};
globals = {
mapleader = " ";
maplocalleader = " ";
};
};
}