mirror of
https://github.com/larstvei/Focus.git
synced 2024-11-26 03:28:32 +00:00
Dim the font color of text in surrounding paragraphs
Lars Tveito
35f3cf5d52
One can customize what sort of bounds should be used for a mode, where derived modes are used to generalize. By default text-mode and prog-mode are defined. |
||
---|---|---|
demo-dark.gif | ||
demo-light.gif | ||
focus.el | ||
README.md |
Focus
Focus provides focus-mode
that dims the text of surrounding paragraphs, similar to iA Writer's Focus Mode.
Installation
This package is still in development, so has not been submitted to Melpa. This section will be simplified when (or if) the package is added to Melpa.
The mode has only been tested with Emacs 24.4 and 24.5. It has no dependencies
other than cl-lib
which is built in.
To install the Emacs extension just download the focus.el
git clone git@github.com:larstvei/Focus.git
and store focus.el
it somewhere in your load-path
. To use it you can put
(require 'focus)
in you Emacs configuration file.
Usage
Enable the mode with M-x focus-mode .
Example
This is what it looks like:
Light Theme (leuven) | Dark Theme (monokai) |
---|---|