Pick a name from the hat: choose one line at random, eliminate all others.
Vim script
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Draw a name from the hat

  1. Create a text file containing all of the names in the hat, one per line.
  2. run :source path/to/raffle.vim
  3. invoke :call Raffle()

It should choose a random line, and eliminate all others.