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 54a5b367b5be62000263f9ef

range(10) digit rotation

This is a data generator challenge or some kind of gift..

Start file
0 1 2 3 4 5 * 7 8 9
1 2 3 4 5 6 * 8 9 0
2 3 4 5 6 7 * 9 0 1
3 4 5 6 7 8 * 0 1 2
4 5 6 7 8 9 * 1 2 3
5 6 7 8 9 0 * 2 3 4
* * * * * * * * * *
7 8 9 0 1 2 * 4 5 6
8 9 0 1 2 3 * 5 6 7
9 0 1 2 3 4 * 6 7 8
End file
0 1 2 3 4 * 6 7 8 9
1 2 3 4 * 6 7 8 9 0
2 3 4 * 6 7 8 9 0 1
3 4 * 6 7 8 9 0 1 2
4 * 6 7 8 9 0 1 2 3
* 6 7 8 9 0 1 2 3 4
6 7 8 9 0 1 2 3 4 *
7 8 9 0 1 2 3 4 * 6
8 9 0 1 2 3 4 * 6 7
9 0 1 2 3 4 * 6 7 8

View Diff

1,9c1,9
< 0 1 2 3 4 5 * 7 8 9
< 1 2 3 4 5 6 * 8 9 0
< 2 3 4 5 6 7 * 9 0 1
< 3 4 5 6 7 8 * 0 1 2
< 4 5 6 7 8 9 * 1 2 3
< 5 6 7 8 9 0 * 2 3 4
< * * * * * * * * * *
< 7 8 9 0 1 2 * 4 5 6
< 8 9 0 1 2 3 * 5 6 7
---
> 0 1 2 3 4 * 6 7 8 9
> 1 2 3 4 * 6 7 8 9 0
> 2 3 4 * 6 7 8 9 0 1
> 3 4 * 6 7 8 9 0 1 2
> 4 * 6 7 8 9 0 1 2 3
> * 6 7 8 9 0 1 2 3 4
> 6 7 8 9 0 1 2 3 4 *
> 7 8 9 0 1 2 3 4 * 6
> 8 9 0 1 2 3 4 * 6 7

Solutions

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 13 remaining solutions by signing in and submitting your own entry
#14 Cristian Lupașcu / clupasq - Score: 21 - 03/20/16 @ 12:41
9ddqqdw$pxPYpq9@qddZZ

0 comments

#15 Remus Dalrymple / bornintheflames - Score: 21 - 05/09/17 @ 08:13
9DqqYP$hxx0Pa <Esc>q8@qZZ

0 comments

#16 jakeroberts / jakeroberts - Score: 21 - 05/29/17 @ 15:29
9ddqqdw$pxPYpq9@qddZZ

0 comments

#17 Matthieu Crapet / mcr05 - Score: 24 - 01/02/15 @ 10:28
9DYPJ0qqdwY9wlD"0pq9@qZZ

0 comments

Created by: mcr05

17 active golfers, 21 entries

Leaderboard (lowest score wins):
18
#1 - Urtica dioica / udioica

01/01/2015 at 10:41PM

18
#2 - Pavlo Klets / p01nt

01/01/2015 at 10:49PM

18
#3 - Jake Eskel / JakeEskel

01/02/2015 at 04:51AM

18
#4 - mnx / mnxx

01/02/2015 at 09:23AM

18
#5 - John Braxler / braxler

01/02/2015 at 02:28PM

18
#6 - Petro Тrouq / zulolosi

01/02/2015 at 02:57PM

18
#7 - Maximiliano Padulo / mpadulo

01/02/2015 at 09:25PM

18
#8 - Carlos A Henríquez Q / lagunex

01/16/2015 at 05:23PM

18
#9 - Jon Krause / jkrause314

01/25/2016 at 01:05AM

18
#10 - 朱国栋 / GuodongZhu

06/05/2016 at 03:41AM

19
#11 - Patrick Knosowski / KnoP8024

05/12/2016 at 10:47PM

20
#12 - martin tourneboeuf / martintournebo1

06/03/2017 at 04:23PM

21
#13 - BZ_VG / BZ_VG

03/01/2016 at 08:34AM

21
#14 - Cristian Lupașcu / clupasq

03/20/2016 at 12:41PM

21
#15 - Remus Dalrymple / bornintheflames

05/09/2017 at 08:13AM

21
#16 - jakeroberts / jakeroberts

05/29/2017 at 03:29PM

24
#17 - Matthieu Crapet / mcr05

01/02/2015 at 10:28AM