nixvim/config/core.nix
2024-08-20 17:07:45 +08:00

29 lines
521 B
Nix

{
config = {
# Color scheme.
colorschemes.catppuccin = {
enable = true;
settings.flavour = "mocha";
};
# Options.
opts = {
# Indent settings.
tabstop = 2;
shiftwidth = 2;
expandtab = true;
# Line number.
number = true;
relativenumber = true;
signcolumn = "yes";
# Search case sensitivity.
ic = true;
};
# Clipboard.
clipboard = {
register = "unnamedplus";
providers.xclip.enable = true;
};
};
}