This plugin is not complete. You can track my progress here with this milestone.
gitportal
will automatically open your current file in github
gitportal
will accept shareable permalinks, switch to the proper commit or branch, open the file, and go to or highlight any relevant lines embedded in the url
NOTE: Support for additional hosts will be added after release.
- Automatically open your current file in GitHub
:lua require("gitportal.core").open_file() -- NOTE: Line ranges are not currently respected.
WARNING: If you use this plugin before release, it is likely you will run into bugs. If you do, please open a github issue and I will do my best to resolve it ASAP.
{ 'trevorhauter/gitportal.nvim' }