vim

To reverse a line in vim:

shift v the line to highlight it then :!rev