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

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

67 active golfers, 229 entries

Solutions by @BZincou:
17
#11 - blabla zincou / @BZincou

03/29/2022 at 07:28PM

18
#>17 - blabla zincou / @BZincou

03/29/2022 at 07:27PM

19
#>24 - blabla zincou / @BZincou

03/29/2022 at 07:13PM

20
#>25 - blabla zincou / @BZincou

03/28/2022 at 08:17PM

20
#>25 - blabla zincou / @BZincou

03/29/2022 at 06:00PM

21
#>26 - blabla zincou / @BZincou

03/28/2022 at 08:16PM

22
#>29 - blabla zincou / @BZincou

03/28/2022 at 08:14PM

23
#>31 - blabla zincou / @BZincou

03/28/2022 at 08:13PM

24
#>37 - blabla zincou / @BZincou

03/28/2022 at 08:11PM

25
#>38 - blabla zincou / @BZincou

03/28/2022 at 08:10PM

27
#>48 - blabla zincou / @BZincou

03/28/2022 at 08:07PM