Skip to content

Easily generate or ingest shareable permalinks to get to the files you want. Fast.

License

Notifications You must be signed in to change notification settings

trevorhauter/gitportal.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitportal.nvim

Bridging the gap between your favorite git host and neovim.

Git Portal

🚧 UNDER CONSTRUCTION 🚧

This plugin is not complete. You can track my progress here with this milestone.

Current expected release date: October 1st, 2024.

꩜ Use cases

You want to quickly share a file with a coworker

  • gitportal will automatically open your current file in github

A coworker shares a file with you

  • 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

꩜ Supported git web hosts

NOTE: Support for additional hosts will be added after release.

꩜ Features currently available

  • 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.

꩜ Installation

{ 'trevorhauter/gitportal.nvim' }

About

Easily generate or ingest shareable permalinks to get to the files you want. Fast.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages