Kill CTRL-M's From a Windows File

Because so randomly do I need this, in vi, to delete all instances of a CTRL-M at the end of a line, do this command:

:%s/^M//g

to make the ^M, do a CTRL-V, CTRL-M.

Good times.