Closed wbolster closed 8 years ago
That's quite a nice idea, thanks!
that was fast. :)
together with text scale adjustment shortcuts this makes for a great full screen experience that is easily adapted to laptop screen, big monitor or beamer. writeroom-mode is awesome.
I added two commands writeroom-increase-width
and writeroom-decrease-width
, which increase/decrease the text area width by 2 characters (1 character doesn't always have a visible effect, so I decided on 2). You can bind these to, e.g., C-M-<
and C-M->
to change the text width in small steps.
This adds a
writeroom-adjust-width
command that allows dynamic tweaking of the writing area's width. Numeric prefix arguments are interpreted as the amount of adjustment, e.g....increases the width by 10 characters.
Calling from lisp code (or from key bindings) is also possible: