some fixes

This commit is contained in:
Dennis Schoepf 2026-03-03 23:19:56 +00:00
parent 257a49faac
commit 555c53d8a3
16 changed files with 114 additions and 117 deletions

31
modules/neovim/_git.nix Normal file
View file

@ -0,0 +1,31 @@
{ ... }:
{
programs.nixvim = {
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";
}
];
};
}