2021-08-04 11:20:33 +00:00
|
|
|
#+TITLE: Layer for reddit
|
|
|
|
|
|
|
|
#+TAGS: layer|web service
|
|
|
|
|
2021-09-05 06:49:47 +00:00
|
|
|
* Table of Contents :TOC_5_gh:noexport:
|
2021-08-04 11:20:33 +00:00
|
|
|
- [[#description][Description]]
|
|
|
|
- [[#features][Features:]]
|
|
|
|
- [[#install][Install]]
|
|
|
|
- [[#configuration][Configuration]]
|
|
|
|
- [[#key-bindings][Key bindings]]
|
|
|
|
|
|
|
|
* Description
|
|
|
|
This layer adds Reddit support to Spacemacs via the package [[https://github.com/thanhvg/emacs-reddigg][reddigg]].
|
|
|
|
This package allows you to browse reddit in org-mode.
|
|
|
|
|
|
|
|
** Features:
|
|
|
|
- Activities on Reddit
|
|
|
|
- Viewing main
|
|
|
|
- Viewing sub
|
|
|
|
- Viewing comments
|
|
|
|
|
|
|
|
* Install
|
|
|
|
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
|
|
|
|
add =reddit= to the existing =dotspacemacs-configuration-layers= list in this
|
|
|
|
file.
|
|
|
|
|
|
|
|
* Configuration
|
2021-09-04 19:50:23 +00:00
|
|
|
You can add sub Reddits to your main page by adding them to =reddigg-subs=. You have to
|
2021-08-04 11:20:33 +00:00
|
|
|
write the sub Reddit name in small letters and replace =SPC= with =_=.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
2021-09-05 06:49:47 +00:00
|
|
|
(reddit :variables
|
|
|
|
reddigg-subs '(spacemacs
|
|
|
|
trymacs_discord))
|
2021-08-04 11:20:33 +00:00
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
* Key bindings
|
|
|
|
|
|
|
|
| Key binding | Description |
|
|
|
|
|---------------+-------------|
|
|
|
|
| ~SPC a w r m~ | View main |
|
|
|
|
| ~SPC a w r s~ | View sub |
|