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

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

72 active golfers, 201 entries

Solutions by @zulolosi:
13
#20 - Petro Тrouq / @zulolosi

06/25/2015 at 07:01PM