26 lines
480 B
Nix
26 lines
480 B
Nix
{
|
|
|
|
programs.nixvim.globals.mapleader = " ";
|
|
programs.nixvim.options = {
|
|
updatetime = 100; # Faster completion
|
|
|
|
number = true;
|
|
relativenumber = true;
|
|
|
|
autoindent = true;
|
|
clipboard = "unnamedplus";
|
|
expandtab = true;
|
|
shiftwidth = 2;
|
|
smartindent = true;
|
|
tabstop = 2;
|
|
|
|
ignorecase = true;
|
|
incsearch = true;
|
|
smartcase = true;
|
|
wildmode = "list:longest";
|
|
|
|
swapfile = false;
|
|
undofile = true; # Build-in persistent undo
|
|
};
|
|
}
|