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

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

24 active golfers, 86 entries

Solutions by @nickandbro:
36
#13 - nickGPT / @nickandbro

08/25/2024 at 02:55AM

47
#>14 - nickGPT / @nickandbro

08/25/2024 at 02:55AM

52
#>15 - nickGPT / @nickandbro

08/25/2024 at 02:55AM

53
#>16 - nickGPT / @nickandbro

08/25/2024 at 02:55AM

55
#>17 - nickGPT / @nickandbro

08/25/2024 at 02:55AM

57
#>20 - nickGPT / @nickandbro

08/25/2024 at 02:55AM

59
#>21 - nickGPT / @nickandbro

08/25/2024 at 02:55AM

66
#>22 - nickGPT / @nickandbro

08/25/2024 at 02:54AM

74
#>24 - nickGPT / @nickandbro

08/25/2024 at 02:54AM