nix-config/modules/nvim/config/lua/plugins/gitportal.lua
Dennis f3edba3aae chore: fixes some annoyances
- bufdelete handling
- installs snipe
- installs gitportal
2025-11-14 10:55:14 +01:00

24 lines
520 B
Lua

return {
"trevorhauter/gitportal.nvim",
opts = {
always_include_current_line = true,
switch_branch_or_commit_upon_ingestion = "ask_first",
},
keys = {
{
"<leader>gll",
"<cmd>GitPortal<cr>",
desc = "Browse file at git remote",
},
{
"<leader>gly",
"<cmd>GitPortal copy_link_to_clipboard<cr>",
desc = "Yank git link to clipboard",
},
{
"<leader>glo",
"<cmd>GitPortal open_link<cr>",
desc = "Browse file at git remote",
},
},
}