Add neovim config using nixvim

This commit is contained in:
Salar Rahmanian 2025-10-03 20:20:39 -07:00
parent 5151384820
commit 2708a86df9
18 changed files with 864 additions and 9 deletions

View file

@ -0,0 +1,36 @@
{ pkgs, ... }:
{
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;
signcolumn = "yes";
smartindent = true;
swapfile = false;
tabstop = 2;
termguicolors = true;
undofile = true;
updatetime = 250;
wrap = false;
};
globals = {
mapleader = " ";
maplocalleader = " ";
};
};
}