IRC
IRC client for Sublime Text 3
Details
Installs
- Total 1K
- Win 605
- Mac 328
- Linux 264
| Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
sublime-text-irc
IRC client for Sublime Text 3
Introduction
This is a very alpha IRC plugin for Sublime Text 3, inspired by Emacs IRC clients such as ERC. Although there are obviously much better clients in the form of Adium, Limechat, et. al., there are many advantages to having IRC built into your text editor. The goal here is to be automatically connected to a particular channel when working on a specific project.
Installation
In the Packages directory:
git clone https://github.com/markbirbeck/sublime-text-irc.git IRC
Using the IRC Command
To create an IRC buffer run the IRC command with a list of connection settings:
view.run_command("irc", {"server": "irc.freenode.net", "target": "#sublimetext"})
To wire a command into the Command Palette edit your Preferences > Package Settings > IRC > Commands - User file. You can find some examples in the Commands - Default file.
Using the IRC client
Any time [ENTER] is pressed commands are submitted to the selected IRC server. If no text is selected and the cursor is simply on the last line of the buffer then the whole line is sent, without the prompt. If any text is selected then in keeping with the spirit of Sublime, each selection is submitted as its own command.
Improving the IRC Client
There's lots of scope for improvement!
New feature requests, bugs and of course pull requests will all be managed via the issue-tracker.
Code is formatted with PEP8 with E501 turned off (i.e., the default settings for SublimeLinter).
GitFlow is used for branching and preparing releases.
Architecture
The client tries to fit in with Sublime Text's architecture as much as possible. So for example, an IRC window is simply a document with the IRC syntax type, which is how things like user names and status messages get their appearance.
Limitations
The main limitation is that the prompt is not protected! If you type over it then the plugin won't be able to find the end of the buffer and therefore won't know where to insert text. It should be straightforward to fix, but for now just watch those backspaces.
Acknowledgements
Making use of the excellent Python IRC library from Joel Rosdahl and Jason R. Coombs.
Changelog
2014-03-26 (v0.4)
- Bump the IRC library to version 8.5.4.
2013-07-25 (v0.3)
- Add /nick, /quit and /connect commands. (@Mimieam)
- Add optional timestamp to messages. (@Mimieam)
- Improve syntax highlighting.
2013-07-02 Some README changes. (v0.2)
2013-07-02 Initial release. (v0.1)