/vim-raffle

Pick a name from the hat: choose one line at random, eliminate all others.

Primary LanguageVim Script

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.