easy use github issue in nvim, with telescope.
- manage github issue
- gh cli
- git
- nvim 0.8+ (recommendation)
- telescope
- lazy.nvim
{
'muryp/muryp-gh.nvim',
config = function()
require('muryp-gh')
--- option
-- _G.muryp_gh = {
-- cache_dir = '/path/custom/root/dir/for/cache'
-- }
end,
dependencies = 'nvim-telescope/telescope.nvim',
}
see my dot configs in here
GhIssue <core-cmd> <sub-cmd>
- list <true|false> => get list issue online/offline and open it.
- create => create issue
- edit => edit current issue
- delete <true|false> => delete current issue online/offline
- getByNum <true|false> => open by issue number online/offline
- pin => pin current issue
- unpin => unpin current issue
- reopen => reopen current issue
- close => close current issue
- lock => lock current issue
- unlock => unlock current issue
GhPR <core-cmd> <sub-cmd>
- list <true|false> => get list pr online/offline and open it.
- create => create pr
- edit => edit current pr
- delete <true|false> => delete current pr online/offline
- getByNum <true|false> => open by pr number online/offline
- pin => pin current pr
- unpin => unpin current pr
- reopen => reopen current pr
- close => close current pr
- lock => lock current pr
- unlock => unlock current pr
Telescope gh_issue
: get list issue online and open it.Telescope gh_issue_cache
: get list issue on cache and open it.Telescope gh_issue_cache_rg
: get list issue with rg on cache and open it.Telescope gh_pr
: get list pr online and open it.Telescope gh_pr_cache
: get list pr on cache and open it.Telescope gh_pr_cache_rg
: get list pr with rg on cache and open it.
The nvim-muryp-git
plugin is distributed under the Apache License 2.0. Please refer to the LICENSE
file for more information about this license.
We greatly appreciate contributions from anyone can produce issue or maintaine code to help this repo. Please read CONTRIBUTE.md
for more info.