37 lines
673 B
Nix
37 lines
673 B
Nix
{
|
|
|
|
programs.nixvim.globals.mapleader = " ";
|
|
programs.nixvim.options = {
|
|
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" ];
|
|
signcolumn = "yes";
|
|
cursorline = true;
|
|
scrolloff = 8;
|
|
mouse = "a";
|
|
|
|
wrap = false;
|
|
|
|
swapfile = false;
|
|
undofile = true;
|
|
};
|
|
}
|