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 558aef9a9b964426b5010562

Restore order to the alphabet

The numbers are OK. The letters are wonky.

Start file
0a
1b
2j
3d
4i
5g
6h
7c
8e
9f
10k
11l
12m
13n
14o
15p
16q
17r
18s
19t
End file
0a
1b
2c
3d
4e
5f
6g
7h
8i
9j
10k
11l
12m
13n
14o
15p
16q
17r
18s
19t

View Diff

3c3
< 2j
---
> 2c
5,10c5,10
< 4i
< 5g
< 6h
< 7c
< 8e
< 9f
---
> 4e
> 5f
> 6g
> 7h
> 8i
> 9j

Solutions by @7Brwa7:

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

72 active golfers, 201 entries

Solutions by @7Brwa7:
13
#35 - Chenut Ludovic / @7Brwa7

04/08/2016 at 08:41AM

25
#>54 - Chenut Ludovic / @7Brwa7

04/08/2016 at 08:39AM