✨ feat(nvim): add octohub to the github extra
This commit is contained in:
parent
841f48a8b3
commit
1da8b3be6d
1 changed files with 36 additions and 0 deletions
|
@ -36,6 +36,7 @@ return {
|
||||||
{ prefix .. "R", group = "review" },
|
{ prefix .. "R", group = "review" },
|
||||||
{ prefix .. "g", group = "gist" },
|
{ prefix .. "g", group = "gist" },
|
||||||
{ prefix .. "s", group = "review" },
|
{ prefix .. "s", group = "review" },
|
||||||
|
{ prefix .. "P", group = "profile" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -130,4 +131,39 @@ return {
|
||||||
{ prefix .. "sc", "<cmd> Octo review close<CR>", desc = "Return to PR" },
|
{ prefix .. "sc", "<cmd> Octo review close<CR>", desc = "Return to PR" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"2kabhishek/octohub.nvim",
|
||||||
|
dependencies = {
|
||||||
|
"2kabhishek/utils.nvim",
|
||||||
|
},
|
||||||
|
cmd = {
|
||||||
|
"OctoRepos",
|
||||||
|
"OctoRepo",
|
||||||
|
"OctoStats",
|
||||||
|
"OctoActivityStats",
|
||||||
|
"OctoContributionStats",
|
||||||
|
"OctoRepoStats",
|
||||||
|
"OctoProfile",
|
||||||
|
"OctoRepoWeb",
|
||||||
|
},
|
||||||
|
opts = {
|
||||||
|
add_default_keybindings = false,
|
||||||
|
projects_dir = "~/dev/",
|
||||||
|
},
|
||||||
|
keys = {
|
||||||
|
{ prefix .. "rl", "<cmd>OctoRepos<CR>", desc = "List Repos" },
|
||||||
|
{ prefix .. "rS", "<cmd>OctoRepos sort:stars<CR>", desc = "Top Starred Repos" },
|
||||||
|
{ prefix .. "rI", "<cmd>OctoRepos sort:issues<CR>", desc = "Top Repos With Issues" },
|
||||||
|
{ prefix .. "rU", "<cmd>OctoRepos sort:updated<CR>", desc = "Recently Updated Repos" },
|
||||||
|
{ prefix .. "rP", "<cmd>OctoRepos type:private<CR>", desc = "Private Repos" },
|
||||||
|
{ prefix .. "rF", "<cmd>OctoRepos type:fork<CR>", desc = "Forked Repos" },
|
||||||
|
{ prefix .. "rc", "<cmd>OctoRepo<CR>", desc = "Clone/Open Repo" },
|
||||||
|
{ prefix .. "rs", "<cmd>OctoRepoStats<CR>", desc = "Repo Stats" },
|
||||||
|
|
||||||
|
{ prefix .. "Ps", "<cmd>OctoStats<CR>", desc = "All Stats" },
|
||||||
|
{ prefix .. "Pa", "<cmd>OctoActivityStats<CR>", desc = "Activity Stats" },
|
||||||
|
{ prefix .. "Pc", "<cmd>OctoContributionStats<CR>", desc = "Contribution Stats" },
|
||||||
|
{ prefix .. "Po", "<cmd>OctoProfile<CR>", desc = "Open Profile" },
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue