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

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

67 active golfers, 229 entries

Solutions by @lvturkeyman:
17
#10 - Turkey Man / @lvturkeyman

10/22/2018 at 09:49AM

18
#>17 - Turkey Man / @lvturkeyman

10/22/2018 at 09:48AM

19
#>24 - Turkey Man / @lvturkeyman

10/22/2018 at 09:47AM

20
#>25 - Turkey Man / @lvturkeyman

10/22/2018 at 09:45AM

21
#>26 - Turkey Man / @lvturkeyman

10/22/2018 at 09:44AM

22
#>29 - Turkey Man / @lvturkeyman

10/22/2018 at 09:42AM

23
#>31 - Turkey Man / @lvturkeyman

10/22/2018 at 09:39AM

27
#>48 - Turkey Man / @lvturkeyman

10/22/2018 at 09:38AM

28
#>54 - Turkey Man / @lvturkeyman

10/22/2018 at 09:38AM

31
#>62 - Turkey Man / @lvturkeyman

10/22/2018 at 09:35AM

47
#>66 - Turkey Man / @lvturkeyman

10/22/2018 at 09:32AM

54
#>67 - Turkey Man / @lvturkeyman

10/22/2018 at 09:28AM