X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=Readme.org;h=7e7f5198fd6c1493c389c0d89906616899321507;hb=0827c8f59336462136dd5dd2ea9f02c1be44e720;hp=abdeff15b070ff352e440078bb3a442aaff77ae2;hpb=7d12eb735a08d4b389a9f0c4a59061e93b3bca6e;p=spray diff --git a/Readme.org b/Readme.org index abdeff1..7e7f519 100644 --- a/Readme.org +++ b/Readme.org @@ -1,16 +1,48 @@ * 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 + +[[screencast.gif]] ** Installation -Put this script into a "load-path"ed directory, and load it in your -init file. +Put spray.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= + +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