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 5bff6e560d5dc0000ca3485b

simple format (3)

reverse two column values!

Start file
one:1
two:2
three:3
four:4
five:5
six:6
seven:7
eight:8
nine:9
ten:10
End file
 1:        "one";
 2:        "two";
 3:      "three";
 4:       "four";
 5:       "five";
 6:        "six";
 7:      "seven";
 8:      "eight";
 9:       "nine";
10:        "ten";

View Diff

 1:        "one";
 2:        "two";
 3:      "three";
 4:       "four";
 5:       "five";
 6:        "six";
 7:      "seven";
 8:      "eight";
 9:       "nine";
10:        "ten";

Solutions by @GeneralHav0k:

Unlock 2 remaining solutions by signing in and submitting your own entry
Created by: @zacoxi

14 active golfers, 45 entries

Solutions by @GeneralHav0k:
59
#12 - Phil Devitt / @GeneralHav0k

01/02/2019 at 10:29PM

66
#>12 - Phil Devitt / @GeneralHav0k

01/02/2019 at 10:28PM