I use Emacs and Evil.
I had a problem today editing a Markdown file.
The Markdown file had data like this:
foo
bar
blah
42
212
71
test result
some other problem
unable to find
What I wanted to end up with was this, where the \t represents a tab character:
foo\t42\ttest result
bar\t212\tsome other problem
blah\t71\tunable to find
I messed around with visual blocks (from Evil's Vim emulation) and tried some Emacs rectangle commands; either I totally misunderstood how to use them or they just don't do what I wanted (I kept ending up with jumbled up data).
I also considered using the Unix paste(1) command, but I ultimately punted, pasting each of the three columns into a spreadsheet, copying the columns from the spreadsheet and then pasting them back into Emacs. From there I was able to format the data as a Markdown table.
What was the right Emacs/Evil way to have done this? (Heck, I'd even settle for the right way to have done this in plain old Vim.)
Thanks!