2015-03-25 03:34:19 +00:00
|
|
|
# ERC contribution layer for Spacemacs
|
|
|
|
|
|
|
|
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc/generate-toc again -->
|
|
|
|
**Table of Contents**
|
|
|
|
|
|
|
|
- [ERC contribution layer for Spacemacs](#erc-contribution-layer-for-spacemacs)
|
|
|
|
- [Description](#description)
|
2015-04-27 01:48:32 +00:00
|
|
|
- [Features](#features)
|
2015-03-25 03:34:19 +00:00
|
|
|
- [Install](#install)
|
|
|
|
- [Key bindings](#key-bindings)
|
|
|
|
|
|
|
|
<!-- markdown-toc end -->
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
2015-04-17 06:00:10 +00:00
|
|
|
Layer for [ERC IRC chat.](http://www.emacswiki.org/emacs/ERC)
|
2015-03-25 03:34:19 +00:00
|
|
|
|
2015-04-27 01:48:32 +00:00
|
|
|
## Features
|
|
|
|
|
|
|
|
- Highlight nicks (using [erc-hl-nicks](https://github.com/leathekd/erc-hl-nicks))
|
|
|
|
- Image inline support (using [erc-image](https://github.com/kidd/erc-image.el))
|
|
|
|
- Logging to ~/.emacs.d/.cache/erc-logs and ViewLogMode for viewing logs (using [erc-view-log](https://github.com/Niluge-KiWi/erc-view-log))
|
|
|
|
- YouTube videos Thumbnails inline (using [erc-yt](https://github.com/yhvh/erc-yt))
|
|
|
|
- Social Graph for ERC messages (using [erc-social-graph](https://github.com/vibhavp/erc-social-graph))
|
|
|
|
|
2015-03-25 03:34:19 +00:00
|
|
|
## Install
|
|
|
|
|
|
|
|
To use this contribution add it to your `~/.spacemacs`
|
|
|
|
|
|
|
|
```elisp
|
|
|
|
(setq-default dotspacemacs-configuration-layers '(erc))
|
|
|
|
```
|
|
|
|
|
2015-04-17 06:00:10 +00:00
|
|
|
*NOTE:* If you're on OS X, it's recommended to install the
|
|
|
|
[terminal-notifier gem](https://github.com/alloy/terminal-notifier) so that you get notifications
|
|
|
|
via the OS X Notification Center.
|
|
|
|
|
2015-03-25 03:34:19 +00:00
|
|
|
## Key bindings
|
|
|
|
|
|
|
|
Key Binding | Description
|
|
|
|
--------------|------------------------------------------------------------
|
2015-04-09 05:27:23 +00:00
|
|
|
`<SPC> a i e` | Starts ERC
|
2015-04-11 15:00:54 +00:00
|
|
|
`<SPC> a i E` | Starts ERC via TLS/SSL
|
2015-04-21 06:02:19 +00:00
|
|
|
`<SPC> a i i` | Switch to next active ERC buffer
|
2015-03-25 18:29:11 +00:00
|
|
|
`<SPC> m b` | Switch between ERC buffers
|
|
|
|
`<SPC> m d` | Interactively input a user action and send it to IRC.
|
2015-04-27 01:48:32 +00:00
|
|
|
`<SPC> m D` | Draw Social Graph using [erc-social-graph](https://github.com/vibhavp/erc-social-graph) (needs graphviz to be installed)
|
2015-03-25 18:29:11 +00:00
|
|
|
`<SPC> m j` | Join a channel, executes the /join command
|
2015-04-08 22:54:34 +00:00
|
|
|
`<SPC> m n` | Run "/names #channel" in the current channel.
|
2015-03-25 18:29:11 +00:00
|
|
|
`<SPC> m l` | Run the /list command
|
|
|
|
`<SPC> m p` | Part from the channel
|
|
|
|
`<SPC> m q` | Quit server
|
|
|
|
|
2015-04-11 15:00:54 +00:00
|
|
|
**Note** If you want to connect securely to an IRC server, you must run
|
|
|
|
`erc-tls` command on <kbd>SPC a i E</kbd> instead of the `erc` command.
|