2015-12-02 14:23:39 +00:00
|
|
|
#+TITLE: xkcd layer
|
2015-06-10 16:44:30 +00:00
|
|
|
|
2019-05-02 21:49:30 +00:00
|
|
|
#+TAGS: fun|layer
|
|
|
|
|
2015-06-10 16:44:30 +00:00
|
|
|
[[file:img/xkcd.png]]
|
|
|
|
|
2019-05-07 20:05:06 +00:00
|
|
|
* Table of Contents :TOC_5_gh:noexport:
|
2017-05-22 14:16:12 +00:00
|
|
|
- [[#description][Description]]
|
2017-10-04 20:45:43 +00:00
|
|
|
- [[#features][Features:]]
|
2017-05-22 14:16:12 +00:00
|
|
|
- [[#install][Install]]
|
2018-12-05 03:03:03 +00:00
|
|
|
- [[#key-bindings][Key bindings]]
|
2017-05-22 14:16:12 +00:00
|
|
|
- [[#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]].
|
|
|
|
|
2017-10-04 20:45:43 +00:00
|
|
|
** Features:
|
2018-09-19 03:54:47 +00:00
|
|
|
- Load a random xkcd
|
|
|
|
- Show the text in the modeline
|
|
|
|
- Open explanation and current comic in browser
|
|
|
|
- Cache the comics in =.cache/xkcd=
|
2015-06-10 16:44:30 +00:00
|
|
|
|
|
|
|
* Install
|
2016-01-06 05:21:55 +00:00
|
|
|
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
|
|
|
|
2018-12-05 03:03:03 +00:00
|
|
|
* Key bindings
|
2015-06-10 16:44:30 +00:00
|
|
|
** Tell me how to spawn the xkcd greatness!!
|
|
|
|
|
2018-12-05 03:03:03 +00:00
|
|
|
| Key binding | Description |
|
2015-06-10 16:44:30 +00:00
|
|
|
|-------------+----------------|
|
|
|
|
| ~SPC a x~ | Open xkcd mode |
|
|
|
|
|
|
|
|
** Okay, what now
|
|
|
|
You can now move through the comics with these
|
|
|
|
|
2018-12-05 03:03:03 +00:00
|
|
|
| Key binding | Description |
|
2015-06-12 01:23:07 +00:00
|
|
|
|-------------+-------------------------------------|
|
|
|
|
| ~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 |
|