neovim -> nixvim

This commit is contained in:
2026-02-20 23:38:41 +01:00
parent 2f47700b62
commit 6fd9424a96
60 changed files with 3005 additions and 176 deletions

View File

@@ -0,0 +1,38 @@
{ ... }:
{
programs.nixvim = {
plugins = {
typst-preview = {
enable = true;
lazyLoad = {
settings = {
ft = "typst";
cmd = "TypstPreview";
};
};
settings = {
open_command = "qutebrowser --target tab %s";
};
};
};
files = {
"ftplugin/typst.lua" = {
keymaps = [
{
action = "<CMD>TypstPreview<CR>";
key = "<C-k>t";
mode = [
"n"
"v"
"i"
];
options = {
desc = "Typst Preview";
};
}
];
};
};
};
}