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

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

72 active golfers, 201 entries

Solutions by @DHM29978992:
13
#37 - DHM / @DHM29978992

05/27/2018 at 02:11AM

14
#>42 - DHM / @DHM29978992

05/27/2018 at 02:10AM

24
#>54 - DHM / @DHM29978992

05/27/2018 at 02:09AM

27
#>65 - DHM / @DHM29978992

05/27/2018 at 02:06AM