bgreenlee / sublime-github

Sublime Text 2/3 plugin that provides a number of useful commands for GitHub.
MIT License
455 stars 98 forks source link

[Feature request] GitHub Pages support #104

Open Kristinita opened 7 years ago

Kristinita commented 7 years ago

1. Request

It would be nice, if Sublime Text users can be get links to URL of their repositories in GitHub Pages.

2. Justification

  1. Sometimes I need browse my file in GitHub Pages, because display file on the local server and GitHub Pages may be different.
  2. Sometimes I need copy links to my GitHub Pages pages, to embed links in my code, to embed links in messages and so on.

Now I need open my GitHub repository in Browser → I move to needed page, for example, https://github.com/Kristinita/Kristinita.github.io/blob/master/Sasha-Black.html → I copy header, for example, Kristinita.github.io/Sasha-Black.html → I insert Kristinita.github.io/Sasha-Black.html in URL Bar. It takes a lot of time.

3. Expected behavior

For example, I open file Sasha-Black.html on my local git repository in Sublime Text.

  1. Ctrl+Shift+PGitHub: Open in GitHub Pages → was opened page http://Kristinita.github.io/Sasha-Black.html in browser.
  2. Ctrl+Shift+PGitHub: Copy GitHub Pages Linkhttp://Kristinita.github.io/Sasha-Black.html link copy to my clipboard.

Thanks.