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 4fe9ab8b5089660001000002

Shuffle and Sort

The values where sorted incorrectly. Get them back to how they are supposed to be

Start file
a,b,c,d,e
a,b,c,d,e
a,b,c,d,e
a,b,c,d,e
a,b,c,d,e
End file
d,e,a,b,c
e,a,b,c,d
a,b,c,d,e
b,c,d,e,a
c,d,e,a,b

View Diff

0a1,2
> d,e,a,b,c
> e,a,b,c,d
2,5c4,5
< a,b,c,d,e
< a,b,c,d,e
< a,b,c,d,e
< a,b,c,d,e
---
> b,c,d,e,a
> c,d,e,a,b

Solutions by @KersonHsiao:

Unlock 8 remaining solutions by signing in and submitting your own entry
Created by: @psasqw

65 active golfers, 209 entries

Solutions by @KersonHsiao:
18
#14 - Kerson Hsiao / @KersonHsiao

06/28/2012 at 05:55AM

19
#>16 - Kerson Hsiao / @KersonHsiao

06/28/2012 at 01:48AM

19
#>16 - Kerson Hsiao / @KersonHsiao

06/28/2012 at 01:56AM

20
#>23 - Kerson Hsiao / @KersonHsiao

06/28/2012 at 01:27AM

20
#>23 - Kerson Hsiao / @KersonHsiao

06/28/2012 at 01:46AM

21
#>24 - Kerson Hsiao / @KersonHsiao

06/28/2012 at 01:14AM

22
#>24 - Kerson Hsiao / @KersonHsiao

06/27/2012 at 12:57PM

24
#>29 - Kerson Hsiao / @KersonHsiao

06/26/2012 at 02:55PM