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

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

67 active golfers, 229 entries

Solutions by @connermcd:
17
#3 - Conner McDaniel / @connermcd

06/28/2012 at 05:27AM

19
#>17 - Conner McDaniel / @connermcd

06/26/2012 at 04:58PM

22
#>26 - Conner McDaniel / @connermcd

06/26/2012 at 01:43PM

22
#>26 - Conner McDaniel / @connermcd

06/26/2012 at 01:49PM

24
#>31 - Conner McDaniel / @connermcd

06/26/2012 at 01:42PM

25
#>37 - Conner McDaniel / @connermcd

06/26/2012 at 01:41PM

29
#>55 - Conner McDaniel / @connermcd

06/26/2012 at 01:31PM

33
#>63 - Conner McDaniel / @connermcd

06/26/2012 at 01:29PM

38
#>65 - Conner McDaniel / @connermcd

06/26/2012 at 01:26PM