hg4subl – Sublime Text plugin for Mercurial
I love Sublime Text and Mercurial. All most all my projects use these two tools. Clearly I need a tighter integration between these two. Sublime Texts provides Python based plugin API architecture. Its quite easy to follow and write a plugin. So I took sublime-text-2-git and modified it to work with Mercurial. I have added a few extra features and intend to develop in future.
Now I can work with my repository from inside Sublime Text.
Its easy to install:
- On Linux go to command prompt
- cd ~/.config/sublime-text-2/Packages
- hg clone http://code.thejeshgn.com/hg4subl
- Restart you Sublime Text
Now your tools menu should have Hg and related menus. Some of the menu’s are enabled only when you are inside a repo work folder. I have tested it only on Linux. If you are a windows user, let me know how it goes.
You can also use Ctrl+Shift+P to quickly access the commands.
The bottom panel is used to display the notifications to users. For example branch change in the working project
The plugin also can update itself. Go to Tools-Hg->hg4subl update. The notification panel show the information about the update
You can fork the project on bitbucket-hg4subl and send me pull requests if you have any.