sublime-text-2-github-tools
sublime-text-2-github-tools copied to clipboard
A set of handy tools to use Sublime Text 2+ with Github
Github Tools for Sublime Text
Introduction
A set of handy tools for using Sublime Text editor with Github. It was initially developed for Sublime Text 2, but now also supports Sublime Text 3 Beta.
If you're a Beanstalk user, check out Beanstalk Tools for Sublime Text.
Usage
Open any directory of your GIT working copy in Sublime Text.
- Press
Ctrl + Shift + P
and selectGithub: Open File
or just pressCtrl + Shift + ^
to open currently edited file on Github. - Press
Ctrl + Shift + P
and selectGithub: Blame
to open blame for currently edited file on Github. - Press
Ctrl + Shift + P
and selectGithub: History
to open commit history for currently edited file on Github. - Press
Ctrl + Shift + P
and selectGithub: Copy Link To File
to save a Github link to a selected code fragment in the system clipboard. - Press
Ctrl + Shift + P
and selectGithub: Repository
to open repository page on Github. - Press
Ctrl + Shift + P
and selectGithub: Issues
to open repository issues page on Github. - Press
Ctrl + Shift + P
and selectGithub: Pull Requests
to open repository pull requests page on Github.
Use Cmd
instead of Ctrl
on Mac OS X.
Get it installed
With The Package Control Plugin
Press Ctrl + Shift + P
to open the Command Palette type pack install
, search for Github Tools and press enter.
Use Cmd
instead of Ctrl
on Mac OS X.
On Mac
cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
git clone git://github.com/temochka/sublime-text-2-github-tools.git
On Linux
cd ~/.config/sublime-text-2/Packages/
git clone git://github.com/temochka/sublime-text-2-github-tools.git
On Windows
cd %APPDATA%/Sublime Text 2/Packages/
git clone git://github.com/temochka/sublime-text-2-github-tools.git
Make sure you have included all required binaries (git
) in your PATH.