X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=Readme.org;h=9f30145d41f260de0c51714ee1efca373e2432df;hb=9f3a3bd2793955083a394d2e527209bc273e0d57;hp=4fdc0b55d08d48162361a1202ff21e9d220c091a;hpb=ccce314bd4706a43f20a89e1fa2bd199327a78b2;p=spray diff --git a/Readme.org b/Readme.org index 4fdc0b5..9f30145 100644 --- a/Readme.org +++ b/Readme.org @@ -4,18 +4,51 @@ 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 [[screencast.gif]] ** 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 "") 'spray-mode) + +** Commands + +In spray-mode buffers, following commands are available. + +- =spray-start/stop= (SPC) :: + pause or resume spraying + +- =spray-backward-word= (h, ) :: + pause and back to the last word + +- =spray-forward-word= (l, ) :: + inverse of =spray-backward-word= + +- =spray-faster= (f) :: + increases speed + +- =spray-slower= (s) :: + decreases speed + +Press any key else to quit =spray-mode=. + +** Customization + +You may customize spray by modifying following items: + +- [Variable] spray-wpm +- [Variable] spray-height +- [Keymap] spray-mode-map +- [Face] spray-base-face +- [Face] spray-orp-face