This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+fun/xkcd/README.org

45 lines
1.5 KiB
Org Mode
Raw Normal View History

#+TITLE: xkcd layer
2015-06-10 16:44:30 +00:00
[[file:img/xkcd.png]]
2016-03-31 02:59:55 +00:00
* Table of Contents :TOC_4_gh:noexport:
- [[#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]]
2015-06-10 16:44:30 +00:00
* Description
This layer adds a [[http://xkcd.com/][xkcd]] navigation mode using [[https://github.com/vibhavp/emacs-xkcd][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 configuration layer, add it to your =~/.spacemacs=. You will need to
add =xkcd= to the existing =dotspacemacs-configuration-layers= list in this
file.
2015-06-10 16:44:30 +00:00
* 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 |