Emacs, 43 35 keystrokes
M-9 x
RET : nine x's, return
C-SPC : set mark
|
M-3 SPC |
M-3 SPC |
RET : pipe, three spaces, pipe, three spaces, pipe, return
M-9 -
RET : nine hyphens, return
|
M-7 SPC |
RET : pipe, seven spaces, pipe, return
M-9 -
RET : nine hyphens, return
C-x C-x : exchange point and mark, selecting region
M-w : copy region
C-p : previous line
C-y : yank copied text
M-x rev-r
RET : execute reverse-region
command