feat: nixvim config

currently only for dnsc-air. can simply be imported in other hosts
This commit is contained in:
Dennis Schoepf 2026-02-04 19:03:10 +01:00
parent ff32ecb811
commit 6543d4a7f3
21 changed files with 1541 additions and 10 deletions

28
modules/nixvim/git.nix Normal file
View file

@ -0,0 +1,28 @@
{
plugins.gitportal = {
enable = true;
};
keymaps = [
{
key = "<leader>gll";
action = "<cmd>GitPortal<cr>";
options.desc = "Open line in Git provider";
}
{
key = "<leader>gll";
action = "<cmd>GitPortal<cr>";
options.desc = "Open line in Git provider";
}
{
key = "<leader>gly";
action = "<cmd>GitPortal copy_link_to_clipboard<cr>";
options.desc = "Copy link to line at Git provider";
}
{
key = "<leader>glo";
action = "<cmd>GitPortal open_link<cr>";
options.desc = "Open link to line at Git provider";
}
];
}