My Emacs config for screenwriting.
Emacs packages used: evil
, fountain-mode
, olivetti
, hide-mode-line
.
Other dependencies: Node.js
, npm
, Afterwriting CLI
(pdf export), Courier Prime
font.
- Install Courier Prime font.
- Clone the repository.
- Install
Afterwriting CLI
:npm install afterwriting -g
. - Create a directory that will serve as a separate emacs home directory for this config.
- Move
.emacs
andafterwriting-config.js
to the new directory. - Edit
launch.sh
: set theSCREENPLAYS_HOME
variable to the path of the new directory. - Rename
launch.sh
to your liking and move it to your preferred directory for executables. Use it to launch emacs. - Add your customizations to
.emacs
andafterwriting-config.js
.
Fountain-mode and olivetti should launch automatically upon opening a .fountain
file. Saving a modified .fountain
file should trigger a generation of a .pdf
file for the screenplay.