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

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

72 active golfers, 201 entries

Solutions by @samasuy:
14
#42 - Samuel Masuy / @samasuy

06/26/2015 at 05:12AM

15
#>43 - Samuel Masuy / @samasuy

06/26/2015 at 05:09AM