Replaced a whole bunch of duplicated code in my vimrc.

It's been replaced with the context-aware todo list toggling.
Next up is tip-list toggling or something.