# xkcd contribution layer for Spacemacs
![logo_xkcd](img/xkcd.png)
**Table of Contents**
- [xkcd contribution layer for Spacemacs](#xkcd-contribution-layer-for-spacemacs)
- [Description](#description)
- [Install](#install)
- [Key Bindings](#key-bindings)
- [Tell me how to spawn the xkcd greatness!!](#tell-me-how-to-spawn-the-xkcd-greatness)
- [Okay, what now](#okay-what-now)
## Description
This layer adds a [xkcd][] navigation mode using [emacs-xkcd][].
Features:
- Load a random xkcd
- Show the text in the modeline
- Open explanation and current comic in browser
- Cache the comics in `.cache/xkcd`
## Install
To use this contribution add it to your `~/.spacemacs`
```elisp
(setq-default dotspacemacs-configuration-layers '(xkcd))
```
## Key Bindings
### Tell me how to spawn the xkcd greatness!!
Key Binding | Description
----------------------|------------------------------------------------------------
SPC a x | Open xkcd mode
### Okay, what now
You can now move through the comics with these
Key Binding | Description
------------------------------|------------------------------------------------------------
e | Open explanation in the browser
j or l | Next comic
k or h | Previous comic
o | Open the browser
q | Quit the buffer
r | Random comic
t | Show alternate text in the modeline
[xkcd]: http://xkcd.com/
[emacs-xkcd]: https://github.com/vibhavp/emacs-xkcd