Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 50d76e775539af000200006f

Transposition

Transpose the original lines in separate columns, one for each line.

Start file
ultricies, vehicula, felis, sed, auctor, aenean, euismod, semper, quam, dapibus
nibh, consequat, consequat, maecenas, sit, amet, mauris, justo, quis, porttitor
curabitur, pharetra, euismod, orci, sit, amet, ullamcorper, mi, tincidunt, et
vitae, lorem, at, mi, feugiat, convallis, ac, eget, dui, fusce
blandit, iaculis, nulla, sit, amet, dolor, nec, est, ornare, volutpat
End file
ultricies  nibh       curabitur    vitae      blandit
vehicula   consequat  pharetra     lorem      iaculis
felis      consequat  euismod      at         nulla
sed        maecenas   orci         mi         sit
auctor     sit        sit          feugiat    amet
aenean     amet       amet         convallis  dolor
euismod    mauris     ullamcorper  ac         nec
semper     justo      mi           eget       est
quam       quis       tincidunt    dui        ornare
dapibus    porttitor  et           fusce      volutpat

View Diff

1,5c1,10
< ultricies, vehicula, felis, sed, auctor, aenean, euismod, semper, quam, dapibus
< nibh, consequat, consequat, maecenas, sit, amet, mauris, justo, quis, porttitor
< curabitur, pharetra, euismod, orci, sit, amet, ullamcorper, mi, tincidunt, et
< vitae, lorem, at, mi, feugiat, convallis, ac, eget, dui, fusce
< blandit, iaculis, nulla, sit, amet, dolor, nec, est, ornare, volutpat
---
> ultricies  nibh       curabitur    vitae      blandit
> vehicula   consequat  pharetra     lorem      iaculis
> felis      consequat  euismod      at         nulla
> sed        maecenas   orci         mi         sit
> auctor     sit        sit          feugiat    amet
> aenean     amet       amet         convallis  dolor
> euismod    mauris     ullamcorper  ac         nec
> semper     justo      mi           eget       est
> quam       quis       tincidunt    dui        ornare
> dapibus    porttitor  et           fusce      volutpat

Solutions by @h_east:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @joe_di_castro

32 active golfers, 99 entries

Solutions by @h_east:
42
#21 - h_east (トロッコ6個) / @h_east

12/24/2012 at 03:12PM