Reverse every word in a line in vim Your task is to build a vim script or provide a sequence of keystrokes that will operate on a single line of text with up to 140 printable ASCII characters (anywhere in a file, with the cursor starting anywhere in the line) and reverse every space-separated string in the sentence while keeping the strings in the same order.

For example, the input:

roF emos nosaer m'I gnisu a retcarahc-041 timil no siht noitseuq neve hguoht ti t'nseod evlovni .rettiwT RACECAR  


should return:

For some reason I'm using a 140-character limit on this question even though it doesn't involve Twitter. RACECAR  


The script with the fewest characters, or the sequence of the fewest keystrokes, to achieve this result is the winner.
28 25 24 keystrokes

:se ri&lt;CR&gt;^qqct &lt;C-r&gt;"&lt;Esc&gt;f l@qq@q


Recursive macro, I assume that Ctrl-r counts as one keystroke.

The hardest part was to make sure the macro stays on the same line and does not destroy the rest of the file.