chore: fixes some annoyances

- bufdelete handling
- installs snipe
- installs gitportal
This commit is contained in:
Dennis 2025-11-14 10:55:14 +01:00
parent b43aae5545
commit f3edba3aae
6 changed files with 78 additions and 19 deletions

View file

@ -0,0 +1,24 @@
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",
},
},
}