install initial nixvim
This commit is contained in:
2026-04-08 10:13:11 +02:00
parent 6f64253c4b
commit d7b58e2216
64 changed files with 592 additions and 286 deletions

View File

@@ -0,0 +1,40 @@
{ ... }:
{
programs.nixvim = {
plugins = {
vimtex = {
enable = true;
settings = {
view_automatic = false;
mappings_disable = {
"n" = [ "K" ];
};
};
};
};
autoGroups = {
"lazyvim_vimtex_conceal" = {
clear = true;
};
};
autoCmd = [
{
event = [ "FileType" ];
group = "lazyvim_vimtex_conceal";
pattern = [
"bib"
"tex"
];
callback.__raw = # lua
''
function ()
vim.wo.conceallevel = 2
end
'';
}
];
};
}