- Create a text file containing all of the names in the hat, one per line.
- run
:source path/to/raffle.vim
- invoke
:call Raffle()
It should choose a random line, and eliminate all others.
Pick a name from the hat: choose one line at random, eliminate all others.