move to backup
This commit is contained in:
parent
294dc66380
commit
a0e3d792a9
182 changed files with 156 additions and 103 deletions
24
bak/modules/nvim/config/lua/plugins/gitportal.lua
Normal file
24
bak/modules/nvim/config/lua/plugins/gitportal.lua
Normal 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",
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue