Skip to content

Instantly share code, notes, and snippets.

@tomekwojcik
Created March 24, 2011 11:47
Show Gist options
  • Save tomekwojcik/884931 to your computer and use it in GitHub Desktop.
Save tomekwojcik/884931 to your computer and use it in GitHub Desktop.
A VIM "plugin" that'll automagically download a random whatthecommit message and insert it into the buffer.
command! Commit :r!msg="`curl http://whatthecommit.com/index.txt 2>/dev/null`"; echo "$msg"; echo "via http://whatthecommit.com/`echo $msg | md5`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment