Enhanced Reading Mode is an Emacs minor mode that enhances readability by highlighting the initial characters of each word in a customizable way. This mode is inspired by techniques to improve reading speed and comprehension.
- Customizable number of characters to highlight.
- Customizable font weight for highlighted characters.
- Automatically updates highlights as you type.
You can install enhanced-reading-mode using popular package managers such as Straight and Elpaca. Choose the method that suits your preference:
- Download the
enhanced-reading-mode.el
file and save it to a directory of your choice. - Add the following lines to your Emacs configuration file (
.emacs
orinit.el
):
(add-to-list 'load-path "path/to/directory/containing/enhanced-reading-mode.el")
(require 'enhanced-reading-mode)
(straight-use-package
'(enhanced-reading-mode :type git :host github :repo "kborling/enhanced-reading-mode"))
;; Using the use-package integration
(use-package enhanced-reading-mode
:straight (enhanced-reading-mode :host github :repo "kborling/enhanced-reading-mode" :files ("*.el")))
(use-package enhanced-reading-mode
:ensure (enhanced-reading-mode :host github :repo "kborling/enhanced-reading-mode" :files ("*.el")))
(package! enhanced-reading-mode
:recipe (:host github :repo "kborling/enhanced-reading-mode"))
(enhanced-reading-mode :location (recipe :fetcher github :repo "kborling/enhanced-reading-mode"))
The number of characters to highlight at the start of each word can be customized using the enhanced-reading-highlight-length
variable.
(setq enhanced-reading-highlight-length 4)
The font weight of the highlighted text can be customized using the enhanced-reading-font-weight
variable. Available options are:
ultra-heavy
heavy
ultra-bold
bold
semi-bold
medium
For example:
(setq enhanced-reading-font-weight 'ultra-bold)
Here is an example configuration for your .emacs
or init.el
:
(add-to-list 'load-path "path/to/enhanced-reading-mode.el")
(require 'enhanced-reading-mode)
;; Customize the highlight length and font weight
(setq enhanced-reading-highlight-length 4)
(setq enhanced-reading-font-weight 'ultra-bold)
;; Enable Enhanced Reading Mode by default in text mode
(add-hook 'text-mode-hook 'enhanced-reading-mode)
- Toggle the mode:
M-x enhanced-reading-mode
- Customize settings:
M-x customize-group RET enhanced-reading
Contributions, bug reports, and feature requests are welcome. Please feel free to submit a pull request or open an issue on the GitHub repository.
This project is licensed under the MIT License.
Enjoy an enhanced reading experience with Emacs!