update doc, no idea what orp means so rename it
[spray] / Readme.org
index 78d1894cb94e22041e4eaaa937489d7718122ca9..2c1363a8edce4a5aae428d652c69fe4d5357a632 100644 (file)
@@ -1,7 +1,10 @@
 * spray.el
 
-A speed reading mode for Emacs (an elisp implementation of
-[[https://github.com/Miserlou/OpenSpritz][OpenSpritz]]).
+A speed reading mode for Emacs.
+
+The algorithm is taken from [[https://github.com/Miserlou/OpenSpritz][OpenSpritz]] (with a few modifications).
+
+NOTE: This is a WIP project and thus APIs may change.
 
 ** Screencast
 
@@ -9,12 +12,47 @@ A speed reading mode for Emacs (an elisp implementation of
 
 ** Installation
 
-Put this script into a "load-path"ed directory, and load it in your
-init file.
+Put cedit.el into a "load-path"ed directory, and load it in your init
+file.
 
 : (require 'spray)
 
-Then you may run spray with "M-x spray-mode". Binding some keys may
-also be useful.
+Then you can start spraying from the cursor position with =M-x
+spray-mode=. Binding some keys may also be useful.
 
 : (global-set-key (kbd "<f6>") 'spray-mode)
+
+** Commands
+
+In spray-mode buffers, following commands are available.
+
+- =spray-start/stop= (SPC) ::
+     pause or resume spraying
+
+- =spray-backward-word= (h, <left>) ::
+     pause and back to the last word
+
+- =spray-forward-word= (l, <right>) ::
+     inverse of =spray-backward-word=
+
+- =spray-faster= (f) ::
+     increases speed
+
+- =spray-slower= (s) ::
+     decreases speed
+
+- =spray-quit= (q, <return>) ::
+     quit =spray-mode=
+
+
+** Customization
+
+You may customize spray by modifying following items:
+
+- [Variable] spray-wpm
+- [Variable] spray-height
+- [Variable] spray-margin-top
+- [Variable] spray-margin-left
+- [Keymap] spray-mode-map
+- [Face] spray-base-face
+- [Face] spray-accent-face