gh.nvim icon indicating copy to clipboard operation
gh.nvim copied to clipboard

[request] Wiki Editing

Open bennypowers opened this issue 3 years ago • 2 comments

Would be super cool to edit GitHub wikies from inside nvim. If a given repo has a wiki, some :GHWiki or some such could open a wiki editor

bennypowers avatar May 20 '22 11:05 bennypowers

Hey! Im open too it, but is way low on the list. I think the next major feature of this plugin will be properly handling Github Notifications.

Id gladly shepherd and aid any attempts at an implementation of this tho! I just don't have the bandwidth to take it on with any priority right now.

ldelossa avatar May 20 '22 12:05 ldelossa

FWIW, this goal:

Would be super cool to edit GitHub wikies from inside nvim.

is definitely possible already because GitHub wikis are just git repositories. So you can clone them normally (e.g. git clone [email protected]:ldelossa/gh.nvim.wiki.git or gh repo clone ldelossa/gh.nvim.wiki), make edits in neovim, and push changes as regular git commits (assuming you have write permissions, of course).

But if you are asking for a :GHWiki command that would let you edit the wiki without cloning it, that would be more involved.

rmacklin avatar Aug 13 '22 00:08 rmacklin