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 @zk_evm:

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

24 active golfers, 86 entries

Solutions by @zk_evm:
66
#22 - Olivier Bégassat / @zk_evm

06/12/2023 at 12:48AM

74
#>24 - Olivier Bégassat / @zk_evm

06/12/2023 at 12:46AM

89
#>24 - Olivier Bégassat / @zk_evm

06/12/2023 at 12:42AM