This goes out to all 5 people who write their screenplays with Vim + Fountain
- Install ultisnips
- Copy the contents of the fountain.snippets file into your Ultisnips file.
You can edit the fountain.snippets file on your device to make writing as smooth as possible.
The expand trigger will be denoted as <exp>
title<exp>
will output a basic title format. By default, it will set the title as the name of your file and the date as today's date.
id<exp>
for INT. - DAYin<exp>
for INT. - NIGHTed<exp>
for EXT. - DAYen<exp>
for EXT. - NIGHT
it<exp>
to enter italicsbf<exp>
to enter boldfaceun<exp>
to enter underline
Say we have a text:
MIKE
Hi! My name is Mike! I am from Earth.
We see very clearly that Mike is not from Earth.
We select this block with visual mode v
, and enter iw
. Then we enter the sequence <exp>b<exp>
put that text in the boneyard.
/*
MIKE
Hi! My name is Mike! I am from Earth.
We see very clearly that Mike is not from Earth.
*/
Snippets can be used within Snippets.
May add markdown.snippets support later.