aidanykim/fountain-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This goes out to all 5 people who write their screenplays with Vim + Fountain

  1. Install ultisnips
  2. Copy the contents of the fountain.snippets file into your Ultisnips file.

Demonstration of snippets by moving through title boilerplate

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. - DAY
  • in<exp> for INT. - NIGHT
  • ed<exp> for EXT. - DAY
  • en<exp> for EXT. - NIGHT
  • it<exp> to enter italics
  • bf<exp> to enter boldface
  • un<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.

Releases

No releases published

Packages

No packages published